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

@@ -41,7 +41,7 @@ $lines = @(
"git: $git",
"date: $date",
"board: ESP32-2432S028R (ILI9341)",
"features: SoftSPI touch, LVGL, button SIG on GPIO22 count+1",
"features: SoftSPI touch, LVGL, 3-pin button OUT on GPIO22 count+1",
"flash_size: 4MB",
"offsets:",
" 0x1000 bootloader.bin",