mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-21 20:44:47 +00:00
sort of work with bicolor displays (yellow+blue), though GUI layout not right
This commit is contained in:
parent
fb5b4af5be
commit
fb043bf86a
@ -38,11 +38,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
// Select which T-Beam board is being used. Only uncomment one. Note: these options now come from platformio standard build file flags
|
// 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
|
//#ifdef ARDUINO_T_Beam
|
||||||
//#define T_BEAM_V10 // AKA Rev1 (second board released)
|
#define T_BEAM_V10 // AKA Rev1 (second board released)
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
//#ifdef ARDUINO_HELTEC_WIFI_LORA_32_V2
|
//#ifdef ARDUINO_HELTEC_WIFI_LORA_32_V2
|
||||||
#define HELTEC_LORA32
|
//#define HELTEC_LORA32
|
||||||
//#endif
|
//#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)
|
// 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 <http://www.gnu.org/licenses/>.
|
|||||||
#if defined(T_BEAM_V10)
|
#if defined(T_BEAM_V10)
|
||||||
#define HW_VENDOR "TTGO"
|
#define HW_VENDOR "TTGO"
|
||||||
|
|
||||||
|
#define BICOLOR_DISPLAY // we have yellow at the top 16 lines
|
||||||
|
|
||||||
#define I2C_SDA 21
|
#define I2C_SDA 21
|
||||||
#define I2C_SCL 22
|
#define I2C_SCL 22
|
||||||
|
|
||||||
|
@ -328,7 +328,10 @@ void screen_setup()
|
|||||||
// Scroll buffer
|
// Scroll buffer
|
||||||
dispdev.setLogBuffer(5, 32);
|
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);
|
// dispdev.setFont(Custom_ArialMT_Plain_10);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user