mirror of
https://github.com/esphome/esphome.git
synced 2025-09-24 06:02:21 +01:00
Co-authored-by: Keith Burzinski <kbx81x@gmail.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: J. Nick Koston <nick@koston.org>
37 lines
641 B
YAML
37 lines
641 B
YAML
<<: !include ../logger/common-usb_cdc.yaml
|
|
|
|
esphome:
|
|
on_boot:
|
|
then:
|
|
- uart.write:
|
|
id: uart_1
|
|
data: 'Hello World'
|
|
- uart.write:
|
|
id: uart_1
|
|
data: [0x00, 0x20, 0x42]
|
|
|
|
uart:
|
|
- id: uart_1
|
|
tx_pin: 4
|
|
rx_pin: 5
|
|
flow_control_pin: 6
|
|
baud_rate: 9600
|
|
data_bits: 8
|
|
rx_buffer_size: 512
|
|
rx_full_threshold: 10
|
|
rx_timeout: 1
|
|
parity: EVEN
|
|
stop_bits: 2
|
|
|
|
- id: uart_2
|
|
tx_pin: 7
|
|
rx_pin: 8
|
|
flow_control_pin: 9
|
|
baud_rate: 9600
|
|
data_bits: 8
|
|
rx_buffer_size: 512
|
|
rx_full_threshold: 10
|
|
rx_timeout: 1
|
|
parity: EVEN
|
|
stop_bits: 2
|