Skip to content

Commit

Permalink
Fixed power up and power down sequence on TPS65186.
Browse files Browse the repository at this point in the history
  • Loading branch information
BornaBiro committed Aug 6, 2024
1 parent 2f380d0 commit 64fa39c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/Inkplate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,16 @@ int Inkplate::einkOn()
WAKEUP_SET;
delay(5);

// Modify power up sequence (VEE and VNEG are swapped)
// Modify power up sequence.
Wire.beginTransmission(0x48);
Wire.write(0x09);
Wire.write(B11100001);
Wire.write(B11100100);
Wire.endTransmission();

// Modify power down sequence (VEE and VNEG are swapped)
Wire.beginTransmission(0x48);
Wire.write(0x0b);
Wire.write(B00011011);
Wire.endTransmission();

#ifdef ARDUINO_INKPLATE6PLUSV2
Expand Down

0 comments on commit 64fa39c

Please sign in to comment.