diff --git a/firmware/cyd/media/preview.html b/firmware/cyd/media/preview.html new file mode 100644 index 0000000..9f8de10 --- /dev/null +++ b/firmware/cyd/media/preview.html @@ -0,0 +1,45 @@ + + + + +Touch + + + +
+ +
Touch
+
Cap OUT->GPIO22 3.3V
+
5
+
count
+
TOUCHING
+
hold 420 ms
+
+
OUT HIGH act=HIGH
+ + +
+ + diff --git a/firmware/cyd/meta.json b/firmware/cyd/meta.json index d6203ba..c461858 100644 --- a/firmware/cyd/meta.json +++ b/firmware/cyd/meta.json @@ -3,5 +3,15 @@ "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"] + "tags": [ + "touch-button", + "capacitive", + "ttp223", + "gpio22", + "lvgl", + "counter" + ], + "media": { + "preview": "media/preview.html" + } }