mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
16 lines
253 B
YAML
16 lines
253 B
YAML
|
esphome:
|
||
|
on_boot:
|
||
|
then:
|
||
|
- uart.write: 'Hello World'
|
||
|
- uart.write: [0x00, 0x20, 0x42]
|
||
|
|
||
|
uart:
|
||
|
- id: uart_uart
|
||
|
tx_pin: 17
|
||
|
rx_pin: 16
|
||
|
baud_rate: 9600
|
||
|
data_bits: 8
|
||
|
rx_buffer_size: 512
|
||
|
parity: EVEN
|
||
|
stop_bits: 2
|