We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e31a64e commit 5d93ddcCopy full SHA for 5d93ddc
examples/TCP/WiFiModbusClientToggle/WiFiModbusClientToggle.ino
@@ -60,7 +60,7 @@ void loop() {
60
// client not connected, start the Modbus TCP client
61
Serial.println("Attempting to connect to Modbus TCP server");
62
63
- if (!modbusTCPClient.begin(server, 8502)) {
+ if (!modbusTCPClient.begin(server)) {
64
Serial.println("Modbus TCP Client failed to connect!");
65
} else {
66
Serial.println("Modbus TCP Client connected");
0 commit comments