mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 16:58:07 +01:00
14 lines
222 B
YAML
14 lines
222 B
YAML
|
esphome:
|
||
|
on_boot:
|
||
|
then:
|
||
|
- uart.write: 'Hello World'
|
||
|
- uart.write: [0x00, 0x20, 0x42]
|
||
|
|
||
|
uart:
|
||
|
- id: uart_uart
|
||
|
port: "/dev/ttyS0"
|
||
|
baud_rate: 9600
|
||
|
data_bits: 8
|
||
|
parity: EVEN
|
||
|
stop_bits: 2
|