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