File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ bool Inkplate::begin()
56
56
57
57
// Init TwoWire and GPIO expander
58
58
setIOExpanderForLowPower ();
59
-
59
+
60
60
// Set the default text color
61
61
setTextColor (INKPLATE_BLACK);
62
62
@@ -323,7 +323,7 @@ bool Inkplate::waitForEpd(uint16_t _timeout)
323
323
324
324
void Graphics::writePixel (int16_t x0, int16_t y0, uint16_t _color)
325
325
{
326
- if (x0 > width () - 1 || y0 > height () - 1 || x0 < 0 || y0 < 0 )
326
+ if (x0 > width () - 1 || y0 > height () - 1 || x0 < 0 || y0 < 0 )
327
327
return ;
328
328
329
329
if (_color > 2 )
Original file line number Diff line number Diff line change 29
29
#define BUSY_TIMEOUT_MS 1000
30
30
31
31
// ePaper specific defines
32
- #define E_INK_HEIGHT 300
33
- #define E_INK_WIDTH 400
34
- #define INKPLATE_WHITE 0b00000000
35
- #define INKPLATE_BLACK 0b00000001
36
- #define INKPLATE_RED 0b00000010
32
+ #define E_INK_HEIGHT 300
33
+ #define E_INK_WIDTH 400
34
+ #define INKPLATE_WHITE 0b00000000
35
+ #define INKPLATE_BLACK 0b00000001
36
+ #define INKPLATE_RED 0b00000010
37
37
38
38
// Pin on the internal io expander which controls MOSFET for turning on and off the SD card
39
39
#define SD_PMOS_PIN IO_PIN_B2 // 10
Original file line number Diff line number Diff line change 17
17
***************************************************/
18
18
19
19
#if defined(ARDUINO_INKPLATE10V2) || defined(ARDUINO_INKPLATE6V2) || defined(ARDUINO_INKPLATE6PLUSV2) || \
20
- defined (ARDUINO_INKPLATECOLOR) || defined(ARDUINO_INKPLATECOOL) || defined(ARDUINO_INKPLATE5) || defined(ARDUINO_INKPLATE4)
20
+ defined (ARDUINO_INKPLATECOLOR) || defined(ARDUINO_INKPLATECOOL) || defined(ARDUINO_INKPLATE5) || \
21
+ defined(ARDUINO_INKPLATE4)
21
22
22
23
#include " Pcal.h"
23
24
You can’t perform that action at this time.
0 commit comments