mirror of
https://github.com/esphome/esphome.git
synced 2024-12-27 16:01:43 +01:00
f8cdb087fc
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
28 lines
529 B
YAML
28 lines
529 B
YAML
i2c:
|
|
id: i2c_bus
|
|
scl: ${scl_pin}
|
|
sda: ${sda_pin}
|
|
scan: true
|
|
frequency: 600kHz
|
|
|
|
wk2204_i2c:
|
|
- id: wk2204_i2c_id
|
|
i2c_id: i2c_bus
|
|
address: 0x70
|
|
uart:
|
|
- id: wk2204_id_0
|
|
channel: 0
|
|
baud_rate: 115200
|
|
stop_bits: 1
|
|
parity: none
|
|
- id: wk2204_id_1
|
|
channel: 1
|
|
baud_rate: 19200
|
|
- id: wk2204_id_2
|
|
channel: 2
|
|
baud_rate: 115200
|
|
stop_bits: 1
|
|
parity: none
|
|
- id: wk2204_id_3
|
|
channel: 3
|
|
baud_rate: 19200
|