I2C를 쓰지 않았습니다.
SetCursor(행,열);
단, 행과 열은 우리가 보는 방향이 아니라, 세로로 놓고 보면 이해가 쉽다.
1열 0열
0행
1행
2행
3행
4행
5행
6행
7행
8행
9행
10행
11행
12행
13행
14행
15행
접선을 암기할때는, 색깔로 암기
검빨가2검3_ _ _ _4567빨검
순서대로 GND VCC 가변저항, 2번핀, GND, 3번핀, 4개 비우고 , 4번핀,5번핀,6번핀,7번핀,VCC,GND
LED에 연결되는 핀은 220옴 저항과 연결되어야 한다. 가변저항은 10k옴을 사용
https://www.arduino.cc/en/Reference/LiquidCrystal
Arduino - LiquidCrystal
Reference Language | Libraries | Comparison | Changes LiquidCrystal Library Reference Home Corrections, suggestions, and new documentation should be posted to the Forum. The text of the Arduino reference is licensed under a Creative Commons Attribution-
www.arduino.cc
[아두이노] lcd.createChar() 사용하기
※ lcd.createChar() - 문법: lcd.createChar(num, data) - LCD에 표시할 사용자 정의 문자를 생성 ...
blog.naver.com
'--------------------***** > DIY(아두이노)' 카테고리의 다른 글
프로젝트 준비 (0) | 2020.07.10 |
---|---|
i2c 주소 찾는 방법 (0) | 2020.07.02 |
DT DV (0) | 2020.06.15 |
digitalRead() return (0) | 2020.06.15 |
아두이노 I2C LCD (0) | 2020.06.06 |