esphome/tests/components/wk2132_i2c/common.yaml
Jean Louis-Guerin f8cdb087fc
Add the WeiKai SPI/I2C UART/IO Expander components to esphome (#5218)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 13:21:44 +12:00

20 lines
350 B
YAML

i2c:
id: i2c_bus
scl: ${scl_pin}
sda: ${sda_pin}
scan: true
frequency: 600kHz
wk2132_i2c:
- id: wk2132_i2c_id
address: 0x70
i2c_id: i2c_bus
uart:
- id: wk2132_id_0
channel: 0
baud_rate: 115200
stop_bits: 1
parity: none
- id: wk2132_id_1
channel: 1
baud_rate: 19200