feat: 支持调节两个屏幕的屏幕亮度。 close #1.

This commit is contained in:
2023-01-31 16:28:12 +08:00
parent 42ec3c7d09
commit 88655e73e8
6 changed files with 248 additions and 3 deletions

View File

@ -62,4 +62,45 @@ menu "MQTT Configuration"
help
URL of the broker to connect to
endmenu
menu "GPIO Configuration"
config ENCODER_0_CLK_PIN
int "encoder 0 click GPIO"
range 1 32
default 2
help
Encoder 0 clock pin
config ENCODER_0_DT_PIN
int "encoder 0 data GPIO"
range 1 32
default 3
help
Encoder 0 clock data
config ENCODER_0_SW_PIN
int "encoder 0 switch GPIO"
range 1 32
default 4
help
Encoder 0 switch pin
config ENCODER_1_CLK_PIN
int "encoder 1 click GPIO"
range 1 32
default 5
help
Encoder 1 clock pin
config ENCODER_1_DT_PIN
int "encoder 1 data GPIO"
range 1 32
default 6
help
Encoder 1 clock data
config ENCODER_1_SW_PIN
int "encoder 1 switch GPIO"
range 1 32
default 7
help
Encoder 1 switch pin
endmenu