aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/St7789.h
diff options
context:
space:
mode:
authorJohn Crawford <coffeeboi47@protonmail.com>2023-10-17 08:19:01 -0600
committerJF <JF002@users.noreply.github.com>2024-08-05 20:32:43 +0200
commit0bcd7e000960d18db6d26813185fe0e2695bdfe6 (patch)
tree346cd311ffe61af16a1707228c469d6e3010907a /src/drivers/St7789.h
parentbf69e0dcc515b85ea034b99414e433a7233ad25e (diff)
aod: lower voltage going to the display
Diffstat (limited to 'src/drivers/St7789.h')
-rw-r--r--src/drivers/St7789.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/St7789.h b/src/drivers/St7789.h
index e249e0b0..68e9f058 100644
--- a/src/drivers/St7789.h
+++ b/src/drivers/St7789.h
@@ -54,6 +54,7 @@ namespace Pinetime {
void FrameRateLow();
void DisplayOn();
void DisplayOff();
+ void PowerControl();
void SetAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);
void SetVdv();
@@ -81,6 +82,8 @@ namespace Pinetime {
FrameRate = 0xb3,
VdvSet = 0xc4,
Command2Enable = 0xdf,
+ PowerControl1 = 0xd0,
+ PowerControl2 = 0xe8,
};
void WriteData(uint8_t data);
void WriteData(const uint8_t* data, size_t size);