Skip to content

Commit 64fa39c

Browse files
committed
Fixed power up and power down sequence on TPS65186.
1 parent 2f380d0 commit 64fa39c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/Inkplate.cpp

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,16 @@ int Inkplate::einkOn()
104104
WAKEUP_SET;
105105
delay(5);
106106

107-
// Modify power up sequence (VEE and VNEG are swapped)
107+
// Modify power up sequence.
108108
Wire.beginTransmission(0x48);
109109
Wire.write(0x09);
110-
Wire.write(B11100001);
110+
Wire.write(B11100100);
111+
Wire.endTransmission();
112+
113+
// Modify power down sequence (VEE and VNEG are swapped)
114+
Wire.beginTransmission(0x48);
115+
Wire.write(0x0b);
116+
Wire.write(B00011011);
111117
Wire.endTransmission();
112118

113119
#ifdef ARDUINO_INKPLATE6PLUSV2

0 commit comments

Comments
 (0)