Skip to content

Commit

Permalink
Add flow control to the examples (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
syssi authored Aug 13, 2024
1 parent cb28c4f commit f5830b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esp32-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ substitutions:
device_description: "Monitor and control a PACE BMS via RS485 (Modbus)"
tx_pin: GPIO16
rx_pin: GPIO17
flow_control_pin: GPIO18

esphome:
name: ${name}
Expand Down Expand Up @@ -49,6 +50,7 @@ uart:
modbus:
- id: modbus0
uart_id: uart_0
flow_control_pin: ${flow_control_pin}
send_wait_time: 200ms

modbus_controller:
Expand Down
2 changes: 2 additions & 0 deletions esp8266-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ substitutions:
device_description: "Monitor and control a PACE BMS via RS485 (Modbus)"
tx_pin: GPIO4
rx_pin: GPIO5
flow_control_pin: GPIO12

esphome:
name: ${name}
Expand Down Expand Up @@ -47,6 +48,7 @@ uart:
modbus:
- id: modbus0
uart_id: uart_0
flow_control_pin: ${flow_control_pin}
send_wait_time: 200ms

modbus_controller:
Expand Down

0 comments on commit f5830b3

Please sign in to comment.