commands:reference:iclcdscrollright
차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
| commands:reference:iclcdscrollright [2026/09/01 20:04] – 만듦 - 바깥 편집 127.0.0.1 | commands:reference:iclcdscrollright [2026/10/25 11:33] (현재) – 바깥 편집 127.0.0.1 | ||
|---|---|---|---|
| 줄 11: | 줄 11: | ||
| ^ 명령어 ^ 인수 ^ 반환값 ^ 동작 ^ | ^ 명령어 ^ 인수 ^ 반환값 ^ 동작 ^ | ||
| | '' | | '' | ||
| + | |||
| ===== 예제 ===== | ===== 예제 ===== | ||
| + | |||
| + | MPAINO-8A8R(T)의 I2C 포트에 주소 '' | ||
| <code cpp> | <code cpp> | ||
| - | bool IclcdBegin(uint8_t address, uint8_t columns, uint8_t rows, | + | bool lcdReady |
| - | bool backlight | + | |
| - | bool IclcdClear(uint8_t device = 0); | + | void setup() { |
| - | bool IclcdHome(uint8_t device | + | |
| - | bool IclcdSetCursor(uint8_t column, uint8_t row, uint8_t device = 0); | + | |
| - | bool IclcdDisplay(bool on = true, uint8_t device = 0); | + | } |
| - | bool IclcdCursor(bool on = true, uint8_t device = 0); | + | |
| - | bool IclcdBlink(bool on = true, uint8_t device = 0); | + | void loop() { |
| - | bool IclcdBacklight(bool on = true, uint8_t device = 0); | + | |
| - | bool IclcdScrollLeft(uint8_t device = 0); | + | |
| - | bool IclcdScrollRight(uint8_t device = 0); | + | delay(500); |
| - | bool IclcdTextDirection(bool leftToRight = true, uint8_t device = 0); | + | } |
| - | bool IclcdAutoscroll(bool on = true, uint8_t device = 0); | + | |
| - | bool IclcdCreateChar(uint8_t location, const uint8_t charmap[8], | + | |
| - | | + | |
| - | bool IclcdWrite(uint8_t value, uint8_t device = 0); | + | |
| - | bool IclcdCommand(uint8_t command, uint8_t device = 0); | + | |
| - | bool IclcdPrint(...); | + | |
| </ | </ | ||
| ===== 주의사항 ===== | ===== 주의사항 ===== | ||
| - | * PCF8574 | + | * PCF8574의 핀 매핑은 기존 CLCD 라이브러리와 같습니다: P0=RS, P1=R/W, P2=Enable, P3=백라이트, |
| * LCD 모듈의 실제 I²C 주소는 모듈 설정과 I²C 스캔 결과로 확인해야 합니다. | * LCD 모듈의 실제 I²C 주소는 모듈 설정과 I²C 스캔 결과로 확인해야 합니다. | ||
| - | * SDA/SCL은 다른 I²C 장치와 버스를 공유할 수 있지만 주소가 중복되면 안 됩니다. | + | * SDA/SCL은 다른 I²C 장치와 버스를 공유할 수 있지만, 장치 |
| - | * '' | + | * '' |
| * MPAINO에서 D20/D21을 외부 인터럽트로 사용하면 I²C와 동시에 사용할 수 없습니다. | * MPAINO에서 D20/D21을 외부 인터럽트로 사용하면 I²C와 동시에 사용할 수 없습니다. | ||
| - | * '' | + | * '' |
| + | |||
| + | ===== 같은 카테고리의 내장 명령어 ===== | ||
| + | |||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| + | * [[commands: | ||
| [[commands: | [[commands: | ||
commands/reference/iclcdscrollright.1788260661.txt.gz · 마지막으로 수정됨: 저자 127.0.0.1
