Fix LCD1602 blank display: HD44780 timing, pinmap switch, contrast hint.
Match LiquidCrystal_I2C init delays; add Map button for alternate PCF8574 wiring; warn about blue contrast pot. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
10
README.md
10
README.md
@@ -21,14 +21,20 @@ LCD1602A(HD44780)经 **PCF8574 I2C 转接板** 驱动:改两行文字、
|
||||
| SDA | GPIO22 |
|
||||
| SCL | GPIO27 |
|
||||
|
||||
上电会扫描 `0x27 / 0x3F / 0x26 / 0x3E`。串口与 TFT 状态栏会显示是否找到地址。
|
||||
上电会扫描 `0x27 / 0x3F / 0x26 / 0x3E` 等。串口与 TFT 状态栏会显示是否找到地址。
|
||||
|
||||
### 背光有、字没有?
|
||||
|
||||
1. **先拧 I2C 转接板上的蓝色电位器(对比度)**——这是最常见原因;背光晶体管和字符是两回事。
|
||||
2. 供电优先接 **5V**(不是 3.3V)。
|
||||
3. 仍无字:点 TFT 上 **Map** 切换另一种 PCF8574 脚位映射后再试 **Hello**。
|
||||
|
||||
## 操作
|
||||
|
||||
- 中间两行:当前 LCD 内容预览(16 字符/行)
|
||||
- **Demo**:循环示例文案
|
||||
- **Hello**:`Hello World!` / `LCD1602A`
|
||||
- **Clear**:清屏
|
||||
- **Map**:切换 I2C 背包脚位映射并重新初始化
|
||||
- **BL ON/OFF**:背光开关
|
||||
|
||||
## 构建 / 烧录
|
||||
|
||||
Reference in New Issue
Block a user