mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Hbridge christmas light (#1251)
* Hbridge Christmas light component Can be used for Christmas lights that use 2 wires to run 2 different strings of lights using a hbridge driver. * Add Test NOTE: I am unable to test this via the docker image * Update hbridge_light_output.h * Update hbridge_light_output.h * Update hbridge_light_output.h * Update light.py * Fixed duty as white value bug fixed * lint changes * Name case change * thanks lint
This commit is contained in:
@@ -761,6 +761,9 @@ output:
|
||||
id: out
|
||||
pin: D3
|
||||
frequency: 50Hz
|
||||
- platform: esp8266_pwm
|
||||
id: out2
|
||||
pin: D4
|
||||
- platform: custom
|
||||
type: binary
|
||||
lambda: |-
|
||||
@@ -809,6 +812,10 @@ light:
|
||||
uart_id: adalight_uart
|
||||
- e131:
|
||||
universe: 1
|
||||
- platform: hbridge
|
||||
name: Icicle Lights
|
||||
pin_a: out
|
||||
pin_b: out2
|
||||
|
||||
servo:
|
||||
id: my_servo
|
||||
|
Reference in New Issue
Block a user