Support 3-pin button module (VCC/GND/OUT) with auto polarity.

Sample idle level at boot; OUT on GPIO22, no internal pull fight.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-23 12:48:45 +08:00
parent 280c5ea97c
commit 7459f9bde1
9 changed files with 62 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
{
"boardId": "esp32-2432s028",
"name": "CYD Button",
"summary": "Button on GPIO22: each press increments on-screen count",
"description": "SoftSPI touch + LVGL. SIG->GPIO22 INPUT_PULLUP. Press +1, touch Reset clears.",
"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"]
}