Skip to content

Commit d671b66

Browse files
authored
Merge pull request #30 from makermelissa/master
Change reset pins to 8 as to not require 2 fritzings
2 parents 18ae1e6 + edc1c08 commit d671b66

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/ThinkInk_gray4/ThinkInk_gray4.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define EPD_CS 9 // can be any pin, but required!
1414
#define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
1515
#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)
16+
#define EPD_RESET 8 // 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);

examples/ThinkInk_mono/ThinkInk_mono.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define EPD_CS 9
1313
#define EPD_DC 10
1414
#define SRAM_CS 6
15-
#define EPD_RESET 5 // can set to -1 and share with microcontroller Reset!
15+
#define EPD_RESET 8 // can set to -1 and share with microcontroller Reset!
1616
#define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
1717

1818
//ThinkInk_154_Mono_D67 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

examples/ThinkInk_partial/ThinkInk_partial.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define EPD_CS 9
1313
#define EPD_DC 10
1414
#define SRAM_CS 6
15-
#define EPD_RESET 5 // can set to -1 and share with microcontroller Reset!
15+
#define EPD_RESET 8 // can set to -1 and share with microcontroller Reset!
1616
#define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
1717

1818
//ThinkInk_290_Grayscale4_T5 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

examples/ThinkInk_tricolor/ThinkInk_tricolor.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define EPD_CS 9 // can be any pin, but required!
1414
#define EPD_BUSY 7 // can set to -1 to not use a pin (will wait a fixed delay)
1515
#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)
16+
#define EPD_RESET 8 // can set to -1 and share with chip Reset (can't deep sleep)
1717

1818
//ThinkInk_154_Tricolor_Z17 display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);
1919
//ThinkInk_154_Tricolor_RW display(EPD_DC, EPD_RESET, EPD_CS, SRAM_CS, EPD_BUSY);

src/Adafruit_ThinkInk.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ typedef enum {
44
THINKINK_GRAYSCALE4,
55
} thinkinkmode_t;
66

7-
#include "panels/ThinkInk_154_Tricolor_Z17.h"
87
#include "panels/ThinkInk_154_Tricolor_RW.h"
8+
#include "panels/ThinkInk_154_Tricolor_Z17.h"
99
#include "panels/ThinkInk_213_Tricolor_RW.h"
1010
#include "panels/ThinkInk_213_Tricolor_Z16.h"
1111
#include "panels/ThinkInk_270_Tricolor_C44.h"

0 commit comments

Comments
 (0)