1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 14:43:51 +00:00

Add support for SM2235 and SM2335 LED drivers (#3924)

This commit is contained in:
Cossid
2022-12-22 16:04:21 -06:00
committed by GitHub
parent a18ab748fd
commit 53b60ac817
13 changed files with 456 additions and 0 deletions

View File

@@ -1465,6 +1465,18 @@ my9231:
num_chips: 2
bit_depth: 16
sm2235:
data_pin: GPIO4
clock_pin: GPIO5
max_power_color_channels: 9
max_power_white_channels: 9
sm2335:
data_pin: GPIO4
clock_pin: GPIO5
max_power_color_channels: 9
max_power_white_channels: 9
bp1658cj:
data_pin: GPIO3
clock_pin: GPIO5
@@ -1600,6 +1612,36 @@ output:
- platform: my9231
id: my_5
channel: 5
- platform: sm2235
id: sm2235_red
channel: 1
- platform: sm2235
id: sm2235_green
channel: 0
- platform: sm2235
id: sm2235_blue
channel: 2
- platform: sm2235
id: sm2235_coldwhite
channel: 4
- platform: sm2235
id: sm2235_warmwhite
channel: 3
- platform: sm2335
id: sm2335_red
channel: 1
- platform: sm2335
id: sm2335_green
channel: 0
- platform: sm2335
id: sm2335_blue
channel: 2
- platform: sm2335
id: sm2335_coldwhite
channel: 4
- platform: sm2335
id: sm2335_warmwhite
channel: 3
- platform: slow_pwm
id: id24
pin: GPIO26