Skip to content

Commit bae0c5c

Browse files
committed
fix grayscale test pins
1 parent 6ff7320 commit bae0c5c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/ThinkInk_gray4/ThinkInk_gray4.ino

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99

1010
#include "Adafruit_ThinkInk.h"
1111

12-
/* breakout */
13-
14-
#define SRAM_CS -1
12+
#define EPD_CS 10
13+
#define EPD_DC 9
14+
#define SRAM_CS 11
15+
#define EPD_RESET 5 // can set to -1 and share with microcontroller Reset!
16+
#define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
1517

1618
//ThinkInk_154_Grayscale4_T8 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
1719
//ThinkInk_213_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

0 commit comments

Comments
 (0)