From 66fbc1f9035558d01fd9dcef1b5efc6d7d431d83 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 3 Nov 2021 17:36:32 +0100 Subject: ssd1306: support both vertical and horizontal adress modes --- src/driver/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/driver') diff --git a/src/driver/Kconfig b/src/driver/Kconfig index dbcf9dd..4e630d2 100644 --- a/src/driver/Kconfig +++ b/src/driver/Kconfig @@ -102,6 +102,18 @@ int "Display height" default 64 depends on driver_ssd1306 +choice driver_ssd1306_mode +bool "Addressing Mode" +depends on driver_ssd1306 + +config driver_ssd1306_mode_vertical +bool "Vertical" + +config driver_ssd1306_mode_horizontal +bool "Horizontal bytes, Vertical bits" + +endchoice + config driver_softi2c bool "Software I2C" #depends on !driver_i2c -- cgit v1.2.3