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"
|
|
|
|
depends on I2C
|
|
|
|
help
|
|
|
|
Enable driver for SSD1306 display driver.
|
|
|
|
|
|
|
|
if SSD1306
|
|
|
|
|
|
|
|
config SSD1306_DEFAULT_CONTRAST
|
|
|
|
int "SSD1306 default contrast"
|
|
|
|
default 128
|
|
|
|
range 0 255
|
|
|
|
help
|
2019-07-04 05:40:38 +08:00
|
|
|
SSD16XX 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
|
|
|
|
bool "Enable SH1106 compatible mode"
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2019-10-17 06:29:28 +08:00
|
|
|
config SSD1306_REVERSE_MODE
|
|
|
|
bool "SSD1306 reverse mode"
|
|
|
|
help
|
|
|
|
SSD16XX reverse video mode.
|
|
|
|
|
2019-11-01 17:24:07 +08:00
|
|
|
endif # SSD1306
|