mirror of
https://github.com/esphome/esphome.git
synced 2026-10-05 18:41:32 +00:00
18 lines
412 B
YAML
18 lines
412 B
YAML
esphome:
|
|
on_boot:
|
|
then:
|
|
- output.rp2040_pwm.set_frequency:
|
|
id: rp2040_pwm_light_output_1
|
|
frequency: 100Hz
|
|
- output.rp2040_pwm.set_frequency:
|
|
id: rp2040_pwm_light_output_2
|
|
frequency: !lambda return 200.0f;
|
|
|
|
output:
|
|
- platform: rp2040_pwm
|
|
id: rp2040_pwm_light_output_1
|
|
pin: 2
|
|
- platform: rp2040_pwm
|
|
id: rp2040_pwm_light_output_2
|
|
pin: 3
|