ja-jp_commands:reference:iclcdtextdirection
差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン前のリビジョン | |||
| ja-jp_commands:reference:iclcdtextdirection [2026/09/08 00:53] – 바깥 편집 127.0.0.1 | ja-jp_commands:reference:iclcdtextdirection [2026/09/14 20:30] (現在) – 外部編集 127.0.0.1 | ||
|---|---|---|---|
| 行 14: | 行 14: | ||
| ===== 使用例 ===== | ===== 使用例 ===== | ||
| + | |||
| + | MPAINO-8A8R(T)のI2Cポートに、アドレス'' | ||
| <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() { | ||
| - | | + | |
| - | | + | |
| - | | + | |
| - | IclcdHome(LCD_DEVICE); | + | |
| - | IclcdDisplay(true, | + | |
| - | IclcdCursor(false, LCD_DEVICE); // カーソル表示をオン/ | + | |
| - | | + | |
| - | IclcdBacklight(true, LCD_DEVICE); // LCDバックライトをオン/ | + | |
| - | IclcdTextDirection(true, | + | |
| - | | + | |
| } | } | ||
| - | void loop() { | + | void loop() {} |
| - | const float temperature = ntcReadf(0); | + | |
| - | IclcdSetCursor(0, | + | |
| - | IclcdPrint(F(" | + | |
| - | IclcdSetCursor(0, | + | |
| - | IclcdPrint(temperature, | + | |
| - | IclcdWrite(0, | + | |
| - | IclcdPrint(' | + | |
| - | + | ||
| - | if (Iup(0, IdigitalRead(0, | + | |
| - | if (Iup(1, IdigitalRead(1, | + | |
| - | if (Iup(2, IdigitalRead(2, | + | |
| - | } | + | |
| </ | </ | ||
ja-jp_commands/reference/iclcdtextdirection.1788796398.txt.gz · 最終更新: by 127.0.0.1
