Wifi Pressure Sensor

Dependencies:   HTTPClient MPL3115A2 NTPClient TMP102 USBDevice cc3000_hostdriver_mbedsocket mbed

Revision:
13:cc381bd02ba1
Parent:
12:41ecc717406f
Child:
14:93db6bb9ac89
--- a/tcpTests.cpp	Wed Jun 18 06:18:16 2014 +0000
+++ b/tcpTests.cpp	Wed Jun 18 10:28:01 2014 +0000
@@ -69,7 +69,7 @@
         map.put("Temperature", buffer);
         //map.put("test", "1234");
         pc.printf(" \r\nTrying to post data.. %0.1f \r\n", random);
-        int ret = http.post("http://192.168.190.40:3000/readings", map, &inText);
+        int ret = http.post("http://markirwin.herokuapp.com/readings", map, &inText);
         if (!ret)
         {
           pc.printf("Executed POST successfully - read %d characters \r\n", strlen(tmpBuffer));
@@ -80,7 +80,7 @@
           pc.printf("Error - ret = %d - HTTP return code = %d \r\n", ret, http.getHTTPResponseCode());
         }
  
-        wait_ms(1000);
+        wait_ms(10000);
         if ( pc.readable() )
         {
             pc.printf("Ending Temp Posting \r\n");