From c690f8157437865a8293a891db6384511b97e5ca Mon Sep 17 00:00:00 2001 From: Jm Date: Fri, 19 Feb 2021 18:19:14 -0800 Subject: [PATCH] #697 Disable internal pullup on this board. --- src/configuration.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/configuration.h b/src/configuration.h index e5b80efe6..55612a121 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -355,9 +355,14 @@ along with this program. If not, see . #define VEXT_ENABLE 21 // active low, powers the oled display and the lora antenna boost #define LED_PIN 25 // If defined we will blink this LED #define BUTTON_PIN \ - 34 // If defined, this will be used for user button presses, if your board doesn't have a physical switch, you can wire one + 12 // If defined, this will be used for user button presses, if your board doesn't have a physical switch, you can wire one // between this pin and ground -#define BUTTON_NEED_PULLUP + +/* Don't enable the internal pull up on the TLORA_V2_1_16. GPIO 12 is connected to a bidirectional + diode. If someone needs to use a button, they should connect an external pull up that's stronger + than what's built into the esp32 +*/ +// #define BUTTON_NEED_PULLUP #define USE_RF95 #define LORA_DIO0 26 // a No connect on the SX1262 module