esphome/tests/components/uart/test.esp32-c3-ard.yaml

16 lines
251 B
YAML
Raw Permalink Normal View History

esphome:
on_boot:
then:
- uart.write: 'Hello World'
- uart.write: [0x00, 0x20, 0x42]
uart:
- id: uart_uart
tx_pin: 4
rx_pin: 5
baud_rate: 9600
data_bits: 8
rx_buffer_size: 512
parity: EVEN
stop_bits: 2