aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorIakabos <46475652+Iakabos@users.noreply.github.com>2020-07-19 17:18:08 -0700
committerGitHub <noreply@github.com>2020-07-19 20:18:08 -0400
commitb0901daa85d95a4020056a030c6aecb02df22d1e (patch)
treeef98794ae3ac07fe2894259683c42e9daf43aec1 /config
parent0f24406acc2c9fe9841b0bbef2430fa85d059f84 (diff)
downloadkutter-b0901daa85d95a4020056a030c6aecb02df22d1e.tar.gz
kutter-b0901daa85d95a4020056a030c6aecb02df22d1e.tar.xz
kutter-b0901daa85d95a4020056a030c6aecb02df22d1e.zip
display: Add configuration options for OLED displays (#3084)
Add user-configurable contrast, vcomh (affects "smearing"), and invert options for SSD1306/SH1106 type OLED displays. Signed-off-by: James Esau <james_esau@hotmail.com>
Diffstat (limited to 'config')
-rw-r--r--config/example-extras.cfg12
1 files changed, 10 insertions, 2 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index 6ab4398b..f5f6bdb4 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -1831,8 +1831,16 @@
# optional. The cs_pin and a0_pin parameters must be provided when
# using an uc1701 display.
#contrast: 40
-# The contrast to set when using a uc1701 type display. The value may
-# range from 0 to 63. Default is 40.
+# The contrast to set when using a uc1701 or SSD1306/SH1106 type display
+# For UC1701 the value may range from 0 to 63. Default is 40.
+# For SSD1306/SH1106 the value may range from 0 to 256. Default is 239.
+#vcomh: 0
+# Set the Vcomh value on SSD1306/SH1106 displays. This value is
+# associated with a "smearing" effect on some OLED displays.
+# The value may range from 0 to 63. Default is 0.
+#invert: FALSE
+# TRUE inverts the pixels on certain OLED (SSD1306/SH1106) displays
+# The default is FALSE
#cs_pin:
#dc_pin:
#spi_bus: