diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-11-03 17:36:32 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-11-03 17:36:32 +0100 |
commit | 66fbc1f9035558d01fd9dcef1b5efc6d7d431d83 (patch) | |
tree | 1a56eb9c8eb76f376edd888496d277e63a2eb1c3 /src | |
parent | ae792d1aca94749dceb9f843ae8bc8dfc3b9dfdd (diff) |
ssd1306: support both vertical and horizontal adress modes
Diffstat (limited to 'src')
-rw-r--r-- | src/driver/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
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 |