Commit d29c6157 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

sharp96, ssd1306: Describe hardware in driver header

parent 8bf5a674
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
+4 −1
Original line number Diff line number Diff line
@@ -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,
+3 −0
Original line number Diff line number Diff line
@@ -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.
 */
#include "driver/sharp96.h"
#include "driver/spi.h"
+3 −0
Original line number Diff line number Diff line
@@ -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.
 */
#include "driver/ssd1306.h"
#if defined(MULTIPASS_ARCH_HAS_I2C) && !defined(CONFIG_driver_softi2c)