summaryrefslogtreecommitdiff
path: root/drivers/lcd/st7565.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-19 18:51:35 +1000
committerGitHub <noreply@github.com>2021-06-19 18:51:35 +1000
commit37fba09021fe094ea4daf0813626b1b6a201c8c0 (patch)
tree7dc87da3d0852f521a63f8c6f665137821815d92 /drivers/lcd/st7565.h
parent0311c8036d693baf63ed4d3b7badf4257ffd5f46 (diff)
downloadqmk_firmware-37fba09021fe094ea4daf0813626b1b6a201c8c0.tar.gz
qmk_firmware-37fba09021fe094ea4daf0813626b1b6a201c8c0.zip
ST7565 invert (#13237)
Diffstat (limited to 'drivers/lcd/st7565.h')
-rw-r--r--drivers/lcd/st7565.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/lcd/st7565.h b/drivers/lcd/st7565.h
index 53cfc9a810..d453dbe6da 100644
--- a/drivers/lcd/st7565.h
+++ b/drivers/lcd/st7565.h
@@ -202,6 +202,10 @@ void st7565_task(void);
// Called at the start of st7565_task, weak function overridable by the user
void st7565_task_user(void);
+// Inverts the display
+// Returns true if the screen was or is inverted
+bool st7565_invert(bool invert);
+
// Returns the maximum number of characters that will fit on a line
uint8_t st7565_max_chars(void);