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 df666c6 commit 16a4094Copy full SHA for 16a4094
examples/TCP-Ethernet/client/client.ino
@@ -31,7 +31,7 @@ void setup() {
31
Ethernet.init(5); // SS pin
32
Ethernet.begin(mac, ip); // start the Ethernet connection
33
delay(1000); // give the Ethernet shield a second to initialize
34
- mb.client(); // Act as Modbus TCP server
+ mb.client(); // Act as Modbus TCP client
35
}
36
37
uint16_t res = 0;
@@ -49,4 +49,4 @@ if (mb.isConnected(remote)) { // Check if connection to Modbus Slave is establ
49
showLast = millis();
50
Serial.println(res);
51
52
-}
+}
0 commit comments