mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
625726c650
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
16 lines
270 B
YAML
16 lines
270 B
YAML
uart:
|
|
- id: uart_modbus
|
|
tx_pin: 17
|
|
rx_pin: 16
|
|
baud_rate: 9600
|
|
|
|
modbus:
|
|
id: mod_bus1
|
|
flow_control_pin: 15
|
|
|
|
modbus_controller:
|
|
- id: modbus_controller1
|
|
address: 0x2
|
|
modbus_id: mod_bus1
|
|
allow_duplicate_commands: true
|
|
max_cmd_retries: 10
|