diff --git a/src/configuration.h b/src/configuration.h index f562ae77..c85eb9f6 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -38,11 +38,11 @@ along with this program. If not, see . // Select which T-Beam board is being used. Only uncomment one. Note: these options now come from platformio standard build file flags //#ifdef ARDUINO_T_Beam -//#define T_BEAM_V10 // AKA Rev1 (second board released) +#define T_BEAM_V10 // AKA Rev1 (second board released) //#endif //#ifdef ARDUINO_HELTEC_WIFI_LORA_32_V2 -#define HELTEC_LORA32 +//#define HELTEC_LORA32 //#endif // If we are using the JTAG port for debugging, some pins must be left free for that (and things like GPS have to be disabled) @@ -109,6 +109,8 @@ along with this program. If not, see . #if defined(T_BEAM_V10) #define HW_VENDOR "TTGO" +#define BICOLOR_DISPLAY // we have yellow at the top 16 lines + #define I2C_SDA 21 #define I2C_SCL 22 diff --git a/src/screen.cpp b/src/screen.cpp index 0bd4d2bc..5bdba403 100644 --- a/src/screen.cpp +++ b/src/screen.cpp @@ -328,7 +328,10 @@ void screen_setup() // Scroll buffer dispdev.setLogBuffer(5, 32); - // dispdev.flipScreenVertically(); // looks better without this on lora32 +#ifdef BICOLOR_DISPLAY + dispdev.flipScreenVertically(); // looks better without this on lora32 +#endif + // dispdev.setFont(Custom_ArialMT_Plain_10); #endif }