mirror of
https://github.com/esphome/esphome.git
synced 2025-10-14 15:53:48 +01:00
18 lines
324 B
YAML
18 lines
324 B
YAML
substitutions:
|
|
pwm_platform: "ledc"
|
|
output1_pin: "4"
|
|
output2_pin: "5"
|
|
output3_pin: "6"
|
|
output4_pin: "7"
|
|
hbridge_on_pin: "2"
|
|
hbridge_off_pin: "3"
|
|
|
|
<<: !include common.yaml
|
|
|
|
switch:
|
|
- platform: hbridge
|
|
id: switch_hbridge
|
|
on_pin: ${hbridge_on_pin}
|
|
off_pin: ${hbridge_off_pin}
|
|
pulse_length: 60ms
|