Skip to content

Commit

Permalink
tlora_v2_1_16: Unset BUTTON_PIN and BUTTON_NEED_PULLUP (meshtastic#5535)
Browse files Browse the repository at this point in the history
Unset BUTTON_PIN and BUTTON_NEED_PULLUP as the board ships without a user button.

Devices and users expecting a button on GPIO12 have to set [GPIO for user button](https://meshtastic.org/docs/configuration/radio/device/#gpio-for-user-button) to 12 (or any GPIO pin the momentary switch was connected to) to restore functionality.

Signed-off-by: Andrew Yong <[email protected]>
  • Loading branch information
ndoo authored and fifieldt committed Dec 14, 2024
1 parent 60cdaa6 commit 88bbc82
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions variants/tlora_v2_1_16/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
#define I2C_SDA 21 // I2C pins for this board
#define I2C_SCL 22

#define LED_PIN 25 // If defined we will blink this LED
#define BUTTON_PIN 12 // If defined, this will be used for user button presses,

#define BUTTON_NEED_PULLUP
#define LED_PIN 25 // If defined we will blink this LED

#define USE_RF95
#define LORA_DIO0 26 // a No connect on the SX1262 module
Expand Down

0 comments on commit 88bbc82

Please sign in to comment.