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

7
firmware/cyd/meta.json Normal file
View File

@@ -0,0 +1,7 @@
{
"boardId": "esp32-2432s028",
"name": "CYD Touch Button",
"summary": "Capacitive touch module (TTP223-like) on GPIO22: each touch increments count",
"description": "Based on btntest shell. SoftSPI touch + LVGL. Capacitive debounce: majority vote, min touch 35ms, rearm after release. VCC/GND/OUT->GPIO22. Auto polarity. Touch Reset clears.",
"tags": ["touch-button", "capacitive", "ttp223", "gpio22", "lvgl", "counter"]
}