aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/St7789.h
diff options
context:
space:
mode:
authormark9064 <30447455+mark9064@users.noreply.github.com>2023-10-23 22:22:46 +0100
committerJF <JF002@users.noreply.github.com>2024-08-05 20:32:43 +0200
commitda9ab4a7b44b3daed233d876f50c245ee4ee4229 (patch)
treecdc2b41b0db1bf15b9f72776d5cb34988c22ea5d /src/drivers/St7789.h
parent0bcd7e000960d18db6d26813185fe0e2695bdfe6 (diff)
aod: lower lcd voltage
Diffstat (limited to 'src/drivers/St7789.h')
-rw-r--r--src/drivers/St7789.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/St7789.h b/src/drivers/St7789.h
index 68e9f058..96d16b93 100644
--- a/src/drivers/St7789.h
+++ b/src/drivers/St7789.h
@@ -55,6 +55,7 @@ namespace Pinetime {
void DisplayOn();
void DisplayOff();
void PowerControl();
+ void GateControl();
void SetAddrWindow(uint16_t x0, uint16_t y0, uint16_t x1, uint16_t y1);
void SetVdv();
@@ -84,6 +85,7 @@ namespace Pinetime {
Command2Enable = 0xdf,
PowerControl1 = 0xd0,
PowerControl2 = 0xe8,
+ GateControl = 0xb7,
};
void WriteData(uint8_t data);
void WriteData(const uint8_t* data, size_t size);