- 积分
- 825
- 金钱
- 756
- 威望
- 0
- 贡献
- 0
- HASS币
- 10
高级会员
- 积分
- 825
- 金钱
- 756
- HASS币
- 10
|
发表于 2022-4-8 19:24:26
|
显示全部楼层
Slow PWM Output
Similar to PWM, the Slow PWM Output platform allows you to control GPIO pins by pulsing them on/off over a longer time period. It could be used to control a heating element through a relay where a fast PWM update cycle would not be appropriate.
Note
This is for slow PWM output. For fast-switching PWM outputs (for example, lights), see these outputs:
ESP32: ESP32 LEDC Output
ESP8266: ESP8266 Software PWM Output
# Example configuration entry
output:
- platform: slow_pwm
pin: D1
id: my_slow_pwm
period: 15s |
|