diff --git a/firmware/cyd/media/preview.html b/firmware/cyd/media/preview.html new file mode 100644 index 0000000..78b3f46 --- /dev/null +++ b/firmware/cyd/media/preview.html @@ -0,0 +1,40 @@ + + + + +Button + + + +
+ +
Button
+
OUT->GPIO22 VCC 3.3V
+
12
+
count
+
IDLE
+
OUT LOW act=HIGH
+ + +
+ + diff --git a/firmware/cyd/meta.json b/firmware/cyd/meta.json index 77819c6..ef0446e 100644 --- a/firmware/cyd/meta.json +++ b/firmware/cyd/meta.json @@ -3,5 +3,14 @@ "name": "CYD Button", "summary": "3-pin button module on GPIO22: each press increments count", "description": "SoftSPI touch + LVGL. VCC/GND/OUT->GPIO22. Auto polarity. Press +1, touch Reset clears.", - "tags": ["button", "gpio22", "touch", "lvgl", "counter"] + "tags": [ + "button", + "gpio22", + "touch", + "lvgl", + "counter" + ], + "media": { + "preview": "media/preview.html" + } }