Rick McConney
/
AvnetATT_shape_hackathon
This program simply connects to a HTS221 I2C device to proximity sensor
Diff: main.cpp
- Revision:
- 34:029e07b67a41
- Parent:
- 26:8d6e7e7cdcae
- Child:
- 35:2e864bae3af0
--- 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]);