mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
pulse_counter_ulp: Add tests
Modified from pulse_counter, reduced in scope to esp32
This commit is contained in:
parent
e5ac747225
commit
8619852a28
1 changed files with 10 additions and 0 deletions
10
tests/components/pulse_counter_ulp/test.esp32-idf.yaml
Normal file
10
tests/components/pulse_counter_ulp/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
Loading…
Reference in a new issue