Initial commit
This commit is contained in:
38
components/ui/Kconfig
Normal file
38
components/ui/Kconfig
Normal file
@@ -0,0 +1,38 @@
|
||||
menu "Display"
|
||||
|
||||
config DISPLAY_DRIVER
|
||||
string "Display driver"
|
||||
default "SSD1306 I2C OLED"
|
||||
|
||||
config DISPLAY_I2C_PORT
|
||||
int "Display I2C port"
|
||||
range 0 1
|
||||
default 0
|
||||
|
||||
config DISPLAY_I2C_ADDR
|
||||
int "Display I2C address"
|
||||
default 60
|
||||
help
|
||||
Decimal value of OLED I2C address (default 0x3C = 60).
|
||||
|
||||
config DISPLAY_PIN_SDA
|
||||
int "Display SDA pin"
|
||||
default 21
|
||||
|
||||
config DISPLAY_PIN_RST
|
||||
int "Display RESET pin (-1 if not used)"
|
||||
default -1
|
||||
|
||||
config DISPLAY_PIN_SCL
|
||||
int "Display SCL pin"
|
||||
default 22
|
||||
|
||||
config DISPLAY_WIDTH
|
||||
int "Display width (px)"
|
||||
default 128
|
||||
|
||||
config DISPLAY_HEIGHT
|
||||
int "Display height (px)"
|
||||
default 64
|
||||
|
||||
endmenu
|
||||
Reference in New Issue
Block a user