Skip to content

Commit 9dd276d

Browse files
committed
remove default pins
1 parent 73a37ca commit 9dd276d

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Adafruit_SSD1676.cpp

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
#include "Adafruit_SSD1676.h"
22
#include "Adafruit_EPD.h"
33

4-
5-
#define EPD_CS 10
6-
#define EPD_DC 9
7-
#define EPD_RESET 5 // can set to -1 and share with microcontroller Reset!
8-
#define EPD_BUSY 6 // can set to -1 to not use a pin (will wait a fixed delay)
94
#define BUSY_WAIT 500
105

116
/**************************************************************************/
@@ -122,8 +117,8 @@ void Adafruit_SSD1676::update() {
122117
uint8_t buf[1];
123118

124119
// display update sequence
125-
//buf[0] = 0xC7;
126-
//EPD_command(SSD1676_DISP_CTRL2, buf, 1);
120+
buf[0] = 0xF4;
121+
EPD_command(SSD1676_DISP_CTRL2, buf, 1);
127122

128123
EPD_command(SSD1676_MASTER_ACTIVATE);
129124
busy_wait();

0 commit comments

Comments
 (0)