mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add support for TI TLC59208F (#718)
* Add support for TI TLC59208F The chip is a 8-BIT FM+ I2C BUS LED DRIVER with 8 open-drain output channels. Its features include: - 256 linear levels - group dimming - group blinking - 64 slave addresses - customizable sub addresses and all call address - output update on stop or on ACK - 3.3V or 5V supply with 5V tolerant IO - no glitch startup - 50mA / output continuous current up to 17V * Convert macro to uint8_t Variables had to be renamed, clang-format would protest against mixed case in global variable name. * Change gen-call reset to use the correct i2c bus
This commit is contained in:
committed by
Otto Winter
parent
5f2808ec2f
commit
9d7f76773d
@@ -745,6 +745,14 @@ pca9685:
|
||||
frequency: 500
|
||||
address: 0x0
|
||||
|
||||
tlc59208f:
|
||||
- address: 0x20
|
||||
id: tlc59208f_1
|
||||
- address: 0x22
|
||||
id: tlc59208f_2
|
||||
- address: 0x24
|
||||
id: tlc59208f_3
|
||||
|
||||
my9231:
|
||||
data_pin: GPIO12
|
||||
clock_pin: GPIO14
|
||||
@@ -789,6 +797,42 @@ output:
|
||||
- platform: pca9685
|
||||
id: pca_7
|
||||
channel: 7
|
||||
- platform: tlc59208f
|
||||
id: tlc_0
|
||||
channel: 0
|
||||
tlc59208f_id: 'tlc59208f_1'
|
||||
- platform: tlc59208f
|
||||
id: tlc_1
|
||||
channel: 1
|
||||
tlc59208f_id: 'tlc59208f_1'
|
||||
- platform: tlc59208f
|
||||
id: tlc_2
|
||||
channel: 2
|
||||
tlc59208f_id: 'tlc59208f_1'
|
||||
- platform: tlc59208f
|
||||
id: tlc_3
|
||||
channel: 0
|
||||
tlc59208f_id: 'tlc59208f_2'
|
||||
- platform: tlc59208f
|
||||
id: tlc_4
|
||||
channel: 1
|
||||
tlc59208f_id: 'tlc59208f_2'
|
||||
- platform: tlc59208f
|
||||
id: tlc_5
|
||||
channel: 2
|
||||
tlc59208f_id: 'tlc59208f_2'
|
||||
- platform: tlc59208f
|
||||
id: tlc_6
|
||||
channel: 0
|
||||
tlc59208f_id: 'tlc59208f_3'
|
||||
- platform: tlc59208f
|
||||
id: tlc_7
|
||||
channel: 1
|
||||
tlc59208f_id: 'tlc59208f_3'
|
||||
- platform: tlc59208f
|
||||
id: tlc_8
|
||||
channel: 2
|
||||
tlc59208f_id: 'tlc59208f_3'
|
||||
- platform: gpio
|
||||
id: id2
|
||||
pin:
|
||||
|
Reference in New Issue
Block a user