A demo on NXP KL25Z of the telemetry library to publish some sensor data that can be read/plotted on the computer using pytelemetrycli (https://github.com/Overdrivr/pytelemetrycli) Published data: "touch" -> capacitive slider output value "acc:x" -> x channel of the accelerometer "acc:y" -> y channel "acc:z" -> z channel
Dependencies: BufferedSerial MMA8451Q mbed telemetry tsi_sensor
Revision 2:9bf273ead1b0, committed 2016-03-09
- Comitter:
- Overdrivr
- Date:
- Wed Mar 09 15:50:16 2016 +0000
- Parent:
- 1:b63db8e76533
- Commit message:
- update include headers
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
telemetry.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r b63db8e76533 -r 9bf273ead1b0 main.cpp --- a/main.cpp Mon Feb 22 21:58:19 2016 +0000 +++ b/main.cpp Wed Mar 09 15:50:16 2016 +0000 @@ -1,5 +1,5 @@ #include "mbed.h" -#include "telemetry/Telemetry.h" +#include "Telemetry.hpp" #include "tsi_sensor.h" #include "MMA8451Q.h"
diff -r b63db8e76533 -r 9bf273ead1b0 telemetry.lib --- a/telemetry.lib Mon Feb 22 21:58:19 2016 +0000 +++ b/telemetry.lib Wed Mar 09 15:50:16 2016 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/Overdrivr/code/telemetry/#8e3de1a314e1 +http://mbed.org/users/Overdrivr/code/telemetry/#f5e1b079bffd