Demo app to read data from FXOS8700Q accelerometer on FRDM-K64F and send values to AT&T M2X Data Service via Ethernet. For use with DevLab
Dependencies: EthernetInterface FXOS8700Q M2XStreamClient jsonlite mbed-rtos mbed
Fork of M2X_K64F_ACCEL by
Diff: main.cpp
- Revision:
- 2:68b759c89fd9
- Parent:
- 1:c7b9e522cc8e
--- 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