mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-04 01:23:50 +03:00
@ -85,7 +85,7 @@ void loop() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Read all the lines of the reply from server and print them to Serial
|
// Read all the lines of the reply from server and print them to Serial
|
||||||
while (client.available()) {
|
while (client.available() || client.connected()) {
|
||||||
String line = client.readStringUntil('\r');
|
String line = client.readStringUntil('\r');
|
||||||
Serial.print(line);
|
Serial.print(line);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user