Skip to content

Commit 6576997

Browse files
committed
Convert eInk Weather Station to ThinkInk Driver
1 parent 0e7c176 commit 6576997

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

EInk_Weather_Station/adafruit_epd_weather/adafruit_epd_weather.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include <time.h>
66
#include <Adafruit_GFX.h> // Core graphics library
7-
#include <Adafruit_EPD.h>
7+
#include <Adafruit_ThinkInk.h>
88
#include <Adafruit_NeoPixel.h>
99
#include <ArduinoJson.h> //https://github.com/bblanchon/ArduinoJson
1010
#include <SPI.h>
@@ -36,7 +36,7 @@
3636
#define NEOPIXELPIN 40
3737

3838
// This is for the 2.7" tricolor EPD
39-
Adafruit_IL91874 gfx(264, 176 ,EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
39+
ThinkInk_270_Tricolor_C44 gfx(264, 176 ,EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
4040

4141
AirliftOpenWeatherMap owclient(&Serial);
4242
OpenWeatherMapCurrentData owcdata;
@@ -672,4 +672,3 @@ void loop() {
672672
}
673673

674674
}
675-

0 commit comments

Comments
 (0)