2019-11-01 20:45:29 +08:00
|
|
|
# SSD1306 display controller configuration options
|
2018-07-20 00:11:50 +08:00
|
|
|
|
|
|
|
# Copyright (c) 2018 Phytec Messtechnik GmbH
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
menuconfig SSD1306
|
|
|
|
bool "SSD1306 display driver"
|
2020-09-12 03:33:09 +08:00
|
|
|
depends on I2C || SPI
|
2018-07-20 00:11:50 +08:00
|
|
|
help
|
|
|
|
Enable driver for SSD1306 display driver.
|
|
|
|
|
|
|
|
if SSD1306
|
|
|
|
|
|
|
|
config SSD1306_DEFAULT_CONTRAST
|
|
|
|
int "SSD1306 default contrast"
|
|
|
|
default 128
|
|
|
|
range 0 255
|
|
|
|
help
|
2021-10-12 18:25:48 +08:00
|
|
|
SSD1306 default contrast.
|
2018-07-20 00:11:50 +08:00
|
|
|
|
2020-01-07 17:29:44 +08:00
|
|
|
choice SSD1306_CONTROLLER_TYPE
|
2018-07-20 00:11:50 +08:00
|
|
|
prompt "Display controller type"
|
|
|
|
default SSD1306_DEFAULT
|
|
|
|
help
|
|
|
|
Specify the type of the controller.
|
|
|
|
|
|
|
|
config SSD1306_DEFAULT
|
|
|
|
bool "Default SSD1306 controller"
|
|
|
|
|
|
|
|
config SSD1306_SH1106_COMPATIBLE
|
2022-03-09 19:05:12 +08:00
|
|
|
bool "SH1106 compatible mode"
|
2018-07-20 00:11:50 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-10-17 06:29:28 +08:00
|
|
|
config SSD1306_REVERSE_MODE
|
|
|
|
bool "SSD1306 reverse mode"
|
|
|
|
help
|
2021-10-12 18:25:48 +08:00
|
|
|
SSD1306 reverse video mode.
|
2019-10-17 06:29:28 +08:00
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # SSD1306
|