diff options
-rw-r--r-- | main.ino | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -34,7 +34,7 @@ EasyButton button_move(BUTTON_PIN_MOVE); EasyButton button_select(BUTTON_PIN_SELECT); #if defined(HAS_DISPLAY) -#define ENABLE_GxEPD2_GFX 1 +#define ENABLE_GxEPD2_GFX 0 #include <GxEPD2_BW.h> #include <Fonts/FreeMonoBold9pt7b.h> @@ -42,6 +42,9 @@ EasyButton button_select(BUTTON_PIN_SELECT); // source: https://github.com/ZinggJM/GxEPD2/blob/master/examples/GxEPD2_Example/GxEPD2_display_selection.h#L192 GxEPD2_BW<GxEPD2_290, GxEPD2_290::HEIGHT> displayEPaper(GxEPD2_290(EPD_CS, EPD_DC, EPD_RSET, EPD_BUSY)); +// FIXME: really disable GLCD, since it cannot build on ESP32 +// as dirty workaround, edit file `libraries/GEM/src/config.h` +#define GEM_DISABLE_GLCD 1 #include <GEM_adafruit_gfx.h> // Create variables that will be editable through the menu and assign them initial values |