AT&T M2X example featuring FRDM-K64F and Seed Grove Wifi to stream the Accelerometer X, Y, Z-axis values
Dependencies: ESP8266Interface FXOS8700Q M2XStreamClient jsonlite mbed
Fork of frdm-k64F_Wifi_M2X_Acc by
Diff: main.cpp
- Revision:
- 2:68b759c89fd9
- Parent:
- 1:c7b9e522cc8e
- Child:
- 3:694a1a67b156
--- a/main.cpp Sat Aug 29 17:11:28 2015 +0000 +++ b/main.cpp Sat Aug 29 17:14:53 2015 +0000 @@ -60,7 +60,7 @@ if (maxTilt > 20) { ret = m2xClient.updateStreamValue(deviceId, streamName, maxTilt); printf("send() returned %d\r\n", ret); - wait(0.5); + wait(1.0); } } } \ No newline at end of file