From d29c615741006cce3c49f64b4ba23534534e5526 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 10 Oct 2021 19:36:57 +0200 Subject: sharp96, ssd1306: Describe hardware in driver header --- include/driver/sharp96.h | 3 +++ include/driver/ssd1306.h | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/driver/sharp96.h b/include/driver/sharp96.h index 1106df1..aaac40a 100644 --- a/include/driver/sharp96.h +++ b/include/driver/sharp96.h @@ -2,6 +2,9 @@ * Copyright 2020 Daniel Friesel * * SPDX-License-Identifier: BSD-2-Clause + * + * Driver for Sharp LS013B4DN04 transflective LCD, also available as + * "430BOOST-SHARP96" addon for the MSP430 LaunchPad series. */ #ifndef SHARP96_H #define SHARP96_H 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, -- cgit v1.2.3