en-us_commands:reference:iclcddisplay
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en-us_commands:reference:iclcddisplay [2026/09/07 23:35] – 바깥 편집 127.0.0.1 | en-us_commands:reference:iclcddisplay [2026/09/14 20:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ===== Example ===== | ===== Example ===== | ||
| + | |||
| + | This example connects a 20×4 PCF8574 character LCD at address '' | ||
| <code cpp> | <code cpp> | ||
| - | const uint8_t LCD_DEVICE | + | bool lcdReady |
| - | const uint8_t degreeChar[8] = {0x0C, 0x12, 0x12, 0x0C, 0, 0, 0, 0}; | + | |
| void setup() { | void setup() { | ||
| - | | + | |
| - | IclcdCreateChar(0, | + | |
| - | IclcdClear(LCD_DEVICE); | + | |
| - | IclcdHome(LCD_DEVICE); | + | |
| - | IclcdDisplay(true, | + | |
| - | | + | |
| - | IclcdBlink(false, LCD_DEVICE); | + | |
| - | IclcdBacklight(true, LCD_DEVICE); // Turn the LCD backlight on or off. | + | |
| - | IclcdTextDirection(true, | + | |
| - | IclcdAutoscroll(false, | + | |
| } | } | ||
| void loop() { | void loop() { | ||
| - | | + | |
| - | | + | |
| - | IclcdPrint(F(" | + | |
| - | | + | |
| - | | + | |
| - | IclcdWrite(0, | + | |
| - | | + | |
| - | + | ||
| - | if (Iup(0, IdigitalRead(0, | + | |
| - | if (Iup(1, IdigitalRead(1, | + | |
| - | if (Iup(2, IdigitalRead(2, | + | |
| } | } | ||
| </ | </ | ||
| Line 55: | Line 42: | ||
| * On MPAINO, using D20/D21 for external interrupts prevents simultaneous I²C use. | * On MPAINO, using D20/D21 for external interrupts prevents simultaneous I²C use. | ||
| * '' | * '' | ||
| + | |||
| + | ===== Built-in Commands in the Same Category ===== | ||
| + | |||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| + | * [[: | ||
| [[: | [[: | ||
en-us_commands/reference/iclcddisplay.1788791733.txt.gz · Last modified: by 127.0.0.1
