Refactor master bedroom remote configuration: Update boot sequence to initialize backlight and change display data rate for improved performance
This commit is contained in:
@@ -10,11 +10,18 @@ substitutions:
|
||||
esphome:
|
||||
name: ${name}
|
||||
friendly_name: ${friendly_name}
|
||||
on_boot:
|
||||
priority: 600
|
||||
then:
|
||||
- output.turn_on: backlight_output
|
||||
- output.set_level:
|
||||
id: backlight_output
|
||||
level: 100%
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: arduino
|
||||
type: esp-idf
|
||||
|
||||
logger:
|
||||
|
||||
@@ -47,7 +54,7 @@ display:
|
||||
model: ili9341
|
||||
cs_pin: GPIO15
|
||||
dc_pin: GPIO2
|
||||
reset_pin: GPIO4
|
||||
data_rate: 40MHz
|
||||
rotation: 0
|
||||
invert_colors: false
|
||||
id: my_display
|
||||
@@ -121,11 +128,11 @@ touchscreen:
|
||||
output:
|
||||
- platform: ledc
|
||||
pin: GPIO21
|
||||
id: backlight_pwm
|
||||
id: backlight_output
|
||||
|
||||
light:
|
||||
- platform: monochromatic
|
||||
output: backlight_pwm
|
||||
output: backlight_output
|
||||
name: "Display Backlight"
|
||||
id: backlight
|
||||
restore_mode: ALWAYS_ON
|
||||
|
||||
Reference in New Issue
Block a user