adds initial support for the display on the t-echo

This commit is contained in:
jeremy 2024-09-18 14:17:23 -04:00
parent a2631b5685
commit 5c764e6f50
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ bool display_init() {
#if DISPLAY == OLED #if DISPLAY == OLED
if(!display.begin(SSD1306_SWITCHCAPVCC, display_address)) { if(!display.begin(SSD1306_SWITCHCAPVCC, display_address)) {
#elif DISPLAY == EINK_BW || DISPLAY == EINK_3C #elif DISPLAY == EINK_BW || DISPLAY == EINK_3C
// don't display_ini check if display is actually connected // don't check if display is actually connected
if(false) { if(false) {
#endif #endif
return false; return false;

View File

@ -408,7 +408,7 @@ const unsigned char bm_dot_sqr [] PROGMEM = {
0x80, 0x00, 0x40, 0x00, 0x00, 0x00, 0xaa, 0xd5, 0x40 0x80, 0x00, 0x40, 0x00, 0x00, 0x00, 0xaa, 0xd5, 0x40
}; };
#elif ((DISP_H == 122 || DISP_H == 200) || DISP_H == 200) #elif (DISP_H == 122 || DISP_H == 200)
// use 122px wide graphics // use 122px wide graphics
const unsigned char bm_bt [] PROGMEM = { const unsigned char bm_bt [] PROGMEM = {