This program simply connects to a HTS221 I2C device to proximity sensor

Dependencies:   FXOS8700CQ mbed

Revision:
34:029e07b67a41
Parent:
26:8d6e7e7cdcae
Child:
35:2e864bae3af0
diff -r eaf45dab650a -r 029e07b67a41 main.cpp
--- a/main.cpp	Thu Jul 21 15:26:42 2016 +0000
+++ b/main.cpp	Sat Jul 23 01:10:53 2016 +0000
@@ -505,7 +505,7 @@
             }
             
             printf(BLU "Read back : %s" DEF "\n", &MySocketData[0]);
-            char * myJsonResponse;
+            char myJsonResponse[512];
             if (extract_JSON(&MySocketData[0], &myJsonResponse[0]))
             {
                 printf(GRN "JSON : %s" DEF "\n", &myJsonResponse[0]);