Document restored TF and 20% speaker volume.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 18:44:02 +08:00
parent a1ab088d70
commit 7c6eb9a09b

View File

@@ -1,6 +1,12 @@
# CYD 触控测试(仅屏幕)
# CYD TF + Speaker
ESP32-2432S028R:LVGL 横屏 + SoftSPI 触摸。无 TF、无喇叭。
ESP32-2432S028R:LVGL 横屏显示 TF 卡信息,触控开关喇叭并播放音乐。
## 功能
- SoftSPI 触摸(已标定,勿改 `src/touch.cpp` 映射)
- TF 卡信息(VSPI)
- 喇叭 GPIO26,默认音量 **20%**;按钮:Speaker ON/OFF、Play Music
## 构建 / 烧录
@@ -8,8 +14,4 @@ ESP32-2432S028R:LVGL 横屏 + SoftSPI 触摸。无 TF、无喇叭。
pio run -e cyd -t upload --upload-port COM3
```
或用 `firmware/cyd/flash.bat`。
## 界面
四角 + 中心按钮;红点跟随触点。点中按钮变绿并串口打印 `HIT …`。
或 `firmware/cyd/flash.bat`。