This is a modification of the NTPClient_HelloWorld to use the wifly link instead of the eth link

Dependencies:   mbed LM75B NTPClient WiflyInterface MMA7660 WebSocketClient

Files at this revision

API Documentation at this revision

Comitter:
samux
Date:
Fri Feb 08 12:17:45 2013 +0000
Parent:
4:79f9caf3d109
Child:
6:b420491ecd8d
Commit message:
use app-board channel

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Feb 08 12:09:33 2013 +0000
+++ b/main.cpp	Fri Feb 08 12:17:45 2013 +0000
@@ -32,7 +32,7 @@
     printf("IP Address is %s\n\r", wifly.getIPAddress());
 
     // See the output on http://sockets.mbed.org/app-board/viewer
-    Websocket ws("ws://sockets.mbed.org:443/ws/sensors/wo");
+    Websocket ws("ws://sockets.mbed.org:443/ws/app-board/wo");
     
     // connect WS server
     while (!ws.connect());