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

21 lines
404 B
YAML

spi:
id: spi_bus
clk_pin: ${clk_pin}
mosi_pin: ${mosi_pin}
miso_pin: ${miso_pin}
wk2132_spi:
- id: wk2132_spi_id
cs_pin: ${cs_pin}
spi_id: spi_bus
crystal: 11059200
data_rate: 1MHz
uart:
- id: wk2132_spi_id0
channel: 0
baud_rate: 115200
stop_bits: 1
parity: none
- id: wk2132_spi_id1
channel: 1
baud_rate: 921600