Skip to content

Commit e24457e

Browse files
committed
noodle
1 parent 0caa53e commit e24457e

File tree

4 files changed

+596
-1
lines changed

4 files changed

+596
-1
lines changed

Adafruit_EPD.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ void Adafruit_EPD::begin(bool reset) {
159159
sram.write8(0, K640_SEQUENTIAL_MODE, MCPSRAM_WRSR);
160160
}
161161

162+
Serial.println("set pins");
162163
// set pin directions
163164
pinMode(_dc_pin, OUTPUT);
164165
pinMode(_cs_pin, OUTPUT);
@@ -172,6 +173,7 @@ void Adafruit_EPD::begin(bool reset) {
172173
csHigh();
173174

174175
if (!hwSPI) {
176+
Serial.println("softserial");
175177
// set pins for software-SPI
176178
pinMode(_sid_pin, OUTPUT);
177179
pinMode(_sclk_pin, OUTPUT);
@@ -188,13 +190,16 @@ void Adafruit_EPD::begin(bool reset) {
188190
#endif
189191
}
190192

193+
Serial.println("hard reset");
191194
if (reset) {
192195
hardwareReset();
193196
}
194197

198+
Serial.println("busy");
195199
if (_busy_pin >= 0) {
196200
pinMode(_busy_pin, INPUT);
197201
}
202+
Serial.println("done!");
198203
}
199204

200205
/**************************************************************************/

Adafruit_EPD.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include "WProgram.h"
2727
#endif
2828

29-
//#define EPD_DEBUG
29+
#define EPD_DEBUG
3030

3131
#define RAMBUFSIZE 64 ///< size of the ram buffer
3232

@@ -204,5 +204,6 @@ class Adafruit_EPD : public Adafruit_GFX {
204204
#include "Adafruit_IL91874.h"
205205
#include "Adafruit_SSD1608.h"
206206
#include "Adafruit_SSD1675.h"
207+
#include "Adafruit_SSD1676.h"
207208
#include "Adafruit_SSD1675B.h"
208209
#endif /* _Adafruit_EPD_H_ */

0 commit comments

Comments
 (0)