Skip to content

Commit 2b25e79

Browse files
committed
UC8151: Do *not* power off display.
Leave the IC powered so that it drains residual voltage into its circuits, rather than the display itself. Or so the theory holds.
1 parent 02aa32b commit 2b25e79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/uc8151/uc8151.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ namespace pimoroni {
389389
}
390390

391391
void UC8151::power_off() {
392-
command(POF);
392+
//command(POF);
393393
}
394394

395395
void UC8151::read(uint8_t reg, size_t len, uint8_t *data) {
@@ -534,7 +534,7 @@ namespace pimoroni {
534534

535535
void UC8151::off() {
536536
busy_wait();
537-
command(POF); // turn off
537+
//command(POF); // turn off
538538
}
539539

540540
}

0 commit comments

Comments
 (0)