Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MMA8451Q mbed nRF24L01P
Fork of Acclerometer_node by
Revision 10:149ded218037, committed 2015-08-11
- Comitter:
- jaehughes
- Date:
- Tue Aug 11 17:28:38 2015 +0000
- Parent:
- 9:934cae7f3290
- Commit message:
- With Xbee comms
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Aug 10 16:11:23 2015 +0000
+++ b/main.cpp Tue Aug 11 17:28:38 2015 +0000
@@ -33,10 +33,8 @@
xbee.printf(publishString);
pc.printf("publish");
pc.printf(publishString);
- //Spark.publish("measurements", publishString);
sprintf(publishString, "%.1f, %.1f", presence_percentage, num_consecutive_runs);
- xbee.printf(publishString);
- //Spark.publish("measurements", publishString);
+ xbee.printf(publishString);
}
