39 lines
677 B
Plaintext
39 lines
677 B
Plaintext
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
|