multiple buttons

This commit is contained in:
2026-06-16 21:00:39 +10:00
parent f0cd430eb9
commit 411864dab8
3 changed files with 63 additions and 12 deletions
+5 -4
View File
@@ -84,10 +84,11 @@ build_flags =
-DTARGET_RX_PIN=44 ; CONFIRM: dongle RX <- sensor TX
-DTARGET_TX_PIN=43 ; CONFIRM: dongle TX -> sensor RX
; --- GPIO control lines to the target (reset out / button out) ---
; GPIO4 + GPIO12 are free, broken-out pins on the T3-S3. (Earlier 2/1 were
; wrong: GPIO2 is the SD MISO and GPIO1 is the battery-ADC pin.)
-DGPIO_RESET_PIN=4 ; -> sensor RST (active-low pulse)
-DGPIO_WAKE_PIN=12 ; -> sensor button/wake (active-low pulse)
; GPIO38 + GPIO39 are free pins on the T3-S3 RIGHT header, right next to the
; UART pins TXD=43/RXD=44 -- so reset/button/TX/RX/GND all come off one row.
; (GPIO2=SD MISO and GPIO1=battery ADC; GPIO4/12 are not broken out at all.)
-DGPIO_RESET_PIN=38 ; -> sensor RST (active-low pulse)
-DGPIO_WAKE_PIN=39 ; -> sensor button/wake (active-low pulse)
-DGPIO_CTRL_ACTIVE_LOW=1
; --- microSD on FSPI/SPI2 (separate bus from LoRa, which uses HSPI/SPI3) ---
-DT3S3_SD_SCK=14