1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-20 21:01:25 +03:00

Fixed issue with Cosm sketch

This commit is contained in:
Mimmo La Fauci
2012-06-07 13:51:48 +02:00
parent 28df8dc4b1
commit 6ab79f0536
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ void loop() {
// if there's incoming data from the net connection. // if there's incoming data from the net connection.
// send it out the serial port. This is for debugging // send it out the serial port. This is for debugging
// purposes only: // purposes only:
if (client.available()) { while (client.available()) {
char c = client.read(); char c = client.read();
Serial.print(c); Serial.print(c);
} }

View File

@ -95,7 +95,7 @@ void loop() {
// if there's incoming data from the net connection. // if there's incoming data from the net connection.
// send it out the serial port. This is for debugging // send it out the serial port. This is for debugging
// purposes only: // purposes only:
if (client.available()) { while (client.available()) {
char c = client.read(); char c = client.read();
Serial.print(c); Serial.print(c);
} }