Browse Source

chore: refactor to use GxEPD2 fork

pull/830/head
Jan Ryklikas 8 months ago
parent
commit
e2fa70d6f3
  1. 5
      src/helpers/ui/GxEPDDisplay.h
  2. 2
      variants/lilygo_techo_lite/platformio.ini

5
src/helpers/ui/GxEPDDisplay.h

@ -13,16 +13,11 @@
#include <Fonts/FreeSansBold12pt7b.h>
#include <Fonts/FreeSans18pt7b.h>
#include <epd/GxEPD2_122_T61.h> // 1.22" b/w
#include <epd/GxEPD2_150_BN.h> // 1.54" b/w
#include <epd/GxEPD2_213_B74.h> // 2.13" b/w
#include <CRC32.h>
#include "DisplayDriver.h"
//GxEPD2_BW<GxEPD2_150_BN, 200> display(GxEPD2_150_BN(DISP_CS, DISP_DC, DISP_RST, DISP_BUSY)); // DEPG0150BN 200x200, SSD1681, TTGO T5 V2.4.1
class GxEPDDisplay : public DisplayDriver {
#if defined(EINK_DISPLAY_MODEL)

2
variants/lilygo_techo_lite/platformio.ini

@ -47,7 +47,7 @@ lib_deps =
${nrf52_base.lib_deps}
stevemarple/MicroNMEA @ ^2.0.6
adafruit/Adafruit BME280 Library @ ^2.3.0
zinggjm/GxEPD2 @ 1.6.2
https://github.com/SoulOfNoob/GxEPD2.git
bakercp/CRC32 @ ^2.0.0
debug_tool = jlink
upload_protocol = nrfutil

Loading…
Cancel
Save