Skip to content

Commit 45b63d7

Browse files
committed
put pins 'in order' and label the uses
1 parent d26432c commit 45b63d7

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

examples/ThinkInk_gray4/ThinkInk_gray4.ino

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@
99

1010
#include "Adafruit_ThinkInk.h"
1111

12-
#define EPD_CS 9
13-
#define EPD_DC 10
14-
#define SRAM_CS 6
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)
12+
#define EPD_DC 10 // can be any pin, but required!
13+
#define EPD_CS 9 // can be any pin, but required!
14+
#define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
15+
#define SRAM_CS 6 // can set to -1 to not use a pin (uses a lot of RAM!)
16+
#define EPD_RESET 5 // can set to -1 and share with chip Reset (can't deep sleep)
1717

1818
//ThinkInk_154_Grayscale4_T8 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
1919
//ThinkInk_213_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
20+
21+
// 2.9" Grayscale Featherwing or Breakout:
2022
ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
2123

2224
#define COLOR1 EPD_BLACK

0 commit comments

Comments
 (0)