mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
8619852a28
Modified from pulse_counter, reduced in scope to esp32
10 lines
220 B
YAML
10 lines
220 B
YAML
sensor:
|
|
- platform: pulse_counter_ulp
|
|
name: Pulse Counter ULP
|
|
pin: 4
|
|
count_mode:
|
|
rising_edge: INCREMENT
|
|
falling_edge: DECREMENT
|
|
sleep_duration: 13ms
|
|
debounce: 4
|
|
update_interval: 15s
|