Skip to content

Commit 7dd5036

Browse files
hanwindevyte
authored andcommitted
Fix bug in WiFiClientBasic.ino (#3902)
1 parent 3838e58 commit 7dd5036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP8266WiFi/examples/WiFiClientBasic/WiFiClientBasic.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ void loop() {
5454
}
5555

5656
// This will send the request to the server
57-
client.print("Send this data to server");
57+
client.println("Send this data to server");
5858

5959
//read back one line from server
6060
String line = client.readStringUntil('\r');
61-
client.println(line);
61+
Serial.println(line);
6262

6363
Serial.println("closing connection");
6464
client.stop();

0 commit comments

Comments
 (0)