for orginal PCB

Dependencies:   EthernetInterface SCP1000 WebSocketClient mbed-rtos mbed

Fork of ku-make_sensor201302 by Satoshi Motoyama

Revision:
2:a8935c580ace
Parent:
1:de9966da02f1
Child:
3:49cc55a3a463
--- a/main.cpp	Thu Dec 06 17:47:14 2012 +0000
+++ b/main.cpp	Thu Dec 06 17:49:24 2012 +0000
@@ -85,7 +85,7 @@
 
         myled = 1;
         sprintf (cms,"{\"method\" : \"put\",\"resource\" : \"%s\",\"params\" : {},\"headers\" : {\"X-ApiKey\":\"%s\"},\"body\" :{\"version\" : \"1.0.0\",\"datastreams\" : [{\"id\" : \"3\",\"current_value\" : \"%4.0f\"},{\"id\" : \"4\",\"current_value\" : \"%4.0f\"},{\"id\" : \"5\",\"current_value\" : \"%3.0f\"},{\"id\" : \"6\",\"current_value\" : \"%3.0f\"}]},\"token\" : \"0x%d\"}\r\n",feed,apikey,r_hpa,r_light,r_temp,r_humid,token);
-        //set your ID and value
+        //set your ID and value 
         printf ("%s\r\n",cms);
         token++;
         int res = ws.send(cms);