This program opens a socket and wait connection through Wi-Fi. When the socket is connected, print out received characters to LCD.
Diff: main.cpp
- Revision:
- 1:e87727c8979d
- Parent:
- 0:ac3682c7c208
- Child:
- 2:f5754fb90f07
--- a/main.cpp Mon Apr 23 08:56:58 2012 +0000 +++ b/main.cpp Sun Jun 03 12:24:13 2012 +0000 @@ -36,7 +36,7 @@ while (true) { setLeds(8 | i); i ^= 1; - p = wifiReadBlock(); + p = wifiReadLine(); ls->print(p); } }