Rick McConney
/
AvnetATT_shape_hackathon
This program simply connects to a HTS221 I2C device to proximity sensor
Diff: main.cpp
- Revision:
- 39:3bbb3dbb531b
- Parent:
- 38:532a0d929756
- Child:
- 40:45e4636d20cc
--- a/main.cpp Mon Sep 26 18:02:16 2016 +0000 +++ b/main.cpp Tue Sep 27 15:45:21 2016 +0000 @@ -429,7 +429,7 @@ case PROXIMITY_ONLY: { char* data = proximityStrip.getDataStr(); - sprintf(modem_string, "GET %s%s?serial=%s&data=[%s] %s%s\r\n\r\n", FLOW_BASE_URL, FLOW_INPUT_NAME, FLOW_DEVICE_NAME, data, FLOW_URL_TYPE, MY_SERVER_URL); + sprintf(modem_string, "GET %s%s?serial=%s&data=%s %s%s\r\n\r\n", FLOW_BASE_URL, FLOW_INPUT_NAME, FLOW_DEVICE_NAME, data, FLOW_URL_TYPE, MY_SERVER_URL); break; } case TEMP_HUMIDITY_ONLY: