diff --git a/src/configuration.h b/src/configuration.h index ad783d0d..96c44a99 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -148,11 +148,6 @@ along with this program. If not, see . // devices. Comment this out to not rotate screen 180 degrees. #define FLIP_SCREEN_VERTICALLY -// DEBUG LED -#ifndef LED_INVERTED -#define LED_INVERTED 0 // define as 1 if LED is active low (on) -#endif - // ----------------------------------------------------------------------------- // GPS // ----------------------------------------------------------------------------- @@ -171,6 +166,9 @@ along with this program. If not, see . #define BUTTON_PIN 38 // The middle button GPIO on the T-Beam #define BUTTON_PIN_ALT 13 // Alternate GPIO for an external button if needed +#define LED_INVERTED 1 +#define LED_PIN 4 // Newer tbeams (1.1) have an extra led on GPIO4 + // TTGO uses a common pinout for their SX1262 vs RF95 modules - both can be enabled and we will probe at runtime for RF95 and if // not found then probe for SX1262 #define USE_RF95 @@ -369,6 +367,11 @@ along with this program. If not, see . #endif +// DEBUG LED +#ifndef LED_INVERTED +#define LED_INVERTED 0 // define as 1 if LED is active low (on) +#endif + #ifdef USE_RF95 #define RF95_RESET LORA_RESET #define RF95_IRQ LORA_DIO0 // on SX1262 version this is a no connect DIO0