summaryrefslogtreecommitdiff
path: root/include/driver/ssd1306.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-10-10 19:36:57 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-10-10 19:36:57 +0200
commitd29c615741006cce3c49f64b4ba23534534e5526 (patch)
treeee31280ea95fdfc16a5529e5c17024bd0afe147f /include/driver/ssd1306.h
parent8bf5a6743489441a0ffb6060a78b3c34ad56cff7 (diff)
sharp96, ssd1306: Describe hardware in driver header
Diffstat (limited to 'include/driver/ssd1306.h')
-rw-r--r--include/driver/ssd1306.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/driver/ssd1306.h b/include/driver/ssd1306.h
index 1c2ff1a..37cee81 100644
--- a/include/driver/ssd1306.h
+++ b/include/driver/ssd1306.h
@@ -2,6 +2,9 @@
* Copyright 2021 Daniel Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
+ *
+ * Driver for Solomon Systech SSD1306 OLED controller. Tested with
+ * 128x64 and 128x32 Displays.
*/
#ifndef SSD1306_H
#define SSD1306_H
@@ -121,7 +124,7 @@ class SSD1306 {
SSD1306_SET_VCOM_DESEL, 0x30,
// start with medium contrast
- SSD1306_SET_CONTRAST, 0x7f,
+ SSD1306_SET_CONTRAST, 0x80,
// display content == RAM content
SSD1306_SET_ENTIRE_ON,