esphome/tests/components/modbus_controller/test.esp32-c3-idf.yaml

14 lines
208 B
YAML

uart:
- id: uart_modbus
tx_pin: 4
rx_pin: 5
baud_rate: 9600
modbus:
id: mod_bus1
flow_control_pin: 6
modbus_controller:
- id: modbus_controller1
address: 0x2
modbus_id: mod_bus1