Skip to content

Commit 2809ff0

Browse files
authored
Example updated
1 parent b871359 commit 2809ff0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/modbusTCPlib_w5100/modbusTCPlib_w5100.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void loop()
105105
node.writeMultipleCoils(20, 16); // Write multiple coils
106106
delay(500);
107107
result = node.readCoils(20, 18);
108-
int len = node.getResponseBufferLength();
108+
len = node.getResponseBufferLength();
109109
Serial.println("Response Length: " + String(len));
110110
Serial.println(node.getResponseBuffer(0), BIN);
111111

0 commit comments

Comments
 (0)