mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-25 20:02:37 +03:00
Fix bug in WiFiClientBasic.ino (#3902)
This commit is contained in:
parent
3838e58f62
commit
7dd50360b9
@ -54,11 +54,11 @@ void loop() {
|
||||
}
|
||||
|
||||
// This will send the request to the server
|
||||
client.print("Send this data to server");
|
||||
client.println("Send this data to server");
|
||||
|
||||
//read back one line from server
|
||||
String line = client.readStringUntil('\r');
|
||||
client.println(line);
|
||||
Serial.println(line);
|
||||
|
||||
Serial.println("closing connection");
|
||||
client.stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user