1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Add duty cycle output component (#894)

* Add duty cycle output component

* cleanup + tests

* format

* duty_cycle -> slow_pwm

* .

* clang-format

* ESP_LOGD -> ESPLOGVV

Co-Authored-By: Otto Winter <otto@otto-winter.com>
This commit is contained in:
Nick Whyte
2019-12-08 03:15:04 +11:00
committed by Otto Winter
parent d09dff3ae3
commit 74aca2137b
6 changed files with 106 additions and 0 deletions

View File

@@ -995,6 +995,10 @@ output:
- platform: my9231
id: my_5
channel: 5
- platform: slow_pwm
id: id24
pin: GPIO26
period: 15s
light:
- platform: binary