Refactor deep sleep and touchscreen configuration for clarity and functionality
This commit is contained in:
@@ -108,12 +108,10 @@ interval:
|
|||||||
|
|
||||||
deep_sleep:
|
deep_sleep:
|
||||||
id: deep_sleep_ctrl
|
id: deep_sleep_ctrl
|
||||||
wakeup_pin:
|
esp32_ext1_wakeup:
|
||||||
number: 4
|
pins:
|
||||||
mode:
|
- 4
|
||||||
input: true
|
mode: ANY_LOW
|
||||||
ignore_pin_validation_error: true
|
|
||||||
wakeup_pin_mode: INVERT_WAKEUP # If it wakes instantly, change to KEEP_AWAKE
|
|
||||||
|
|
||||||
# --- Display ---
|
# --- Display ---
|
||||||
display:
|
display:
|
||||||
@@ -131,11 +129,7 @@ display:
|
|||||||
touchscreen:
|
touchscreen:
|
||||||
platform: gt911
|
platform: gt911
|
||||||
id: touch_panel
|
id: touch_panel
|
||||||
interrupt_pin:
|
update_interval: 50ms
|
||||||
number: 4
|
|
||||||
mode:
|
|
||||||
input: true
|
|
||||||
ignore_pin_validation_error: true
|
|
||||||
reset_pin:
|
reset_pin:
|
||||||
ch422g: ch422g_hub
|
ch422g: ch422g_hub
|
||||||
number: 1
|
number: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user