Skip to content

Commit beb9494

Browse files
committed
2 parents 926e1af + 5aa84ce commit beb9494

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Inkplate.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ Inkplate::Inkplate() : Adafruit_GFX(E_INK_WIDTH, E_INK_HEIGHT), Graphics(E_INK_W
2626
Inkplate::Inkplate(uint8_t _mode) : Adafruit_GFX(E_INK_WIDTH, E_INK_HEIGHT), Graphics(E_INK_WIDTH, E_INK_HEIGHT)
2727
#endif
2828
{
29+
#ifndef ARDUINO_INKPLATECOLOR
2930
setDisplayMode(_mode);
31+
#endif
3032
}
3133

3234
/**

src/boards/InkplateColor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// Connections between ESP32 and color Epaper
2424
#define EPAPER_RST_PIN 19
2525
#define EPAPER_DC_PIN 33
26-
#define EPAPER_CS_PIN 15
26+
#define EPAPER_CS_PIN 27
2727
#define EPAPER_BUSY_PIN 32
2828
#define EPAPER_CLK 18
2929
#define EPAPER_DIN 23

0 commit comments

Comments
 (0)