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
Revision 2:68b759c89fd9, committed 2015-08-29
- Comitter:
- jb8414
- Date:
- Sat Aug 29 17:14:53 2015 +0000
- Parent:
- 1:c7b9e522cc8e
- Commit message:
- 1 sec wait
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c7b9e522cc8e -r 68b759c89fd9 main.cpp --- 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