Add capacitive touch-button test optimized from btntest.

TTP223-style debounce (majority, min touch, rearm), SoftSPI+LVGL shell, flashable firmware/cyd.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-23 13:15:39 +08:00
commit 7f0f391705
23 changed files with 2014 additions and 0 deletions

21
firmware/README.md Normal file
View File

@@ -0,0 +1,21 @@
# 预编译固件
目录:[`cyd/`](cyd/)
板子:**CYD ESP32-2432S028R**(ILI9341)
功能:触控感应按钮(GPIO22)计数 + SoftSPI 触控 + LVGL(壳同 btntest,电容触摸专用滤波)
## 刷写
```powershell
cd firmware\cyd
.\flash.ps1
# 或 .\flash.ps1 -Port COM3
```
## 重新打包
```powershell
.\firmware\export_from_build.ps1
.\firmware\export_from_build.ps1 -SkipBuild
```