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: BufferedSerial mbed telemetry
Revision 0:c39bdc8eed82, committed 2016-03-02
- Comitter:
- Overdrivr
- Date:
- Wed Mar 02 21:35:05 2016 +0000
- Child:
- 1:234cbe65336d
- Commit message:
- Initial commit
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BufferedSerial.lib Wed Mar 02 21:35:05 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/sam_grove/code/BufferedSerial/#779304f9c5d2
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Wed Mar 02 21:35:05 2016 +0000
@@ -0,0 +1,19 @@
+#include "Telemetry.h"
+#include "mbed.h"
+
+int main()
+{
+ Telemetry TM;
+
+ Timer refresh;
+ refresh.start();
+
+ for( ; ; )
+ {
+ if(refresh.read_ms() > 300)
+ {
+ refresh.reset();
+ TM.pub_u32("rand",rand());
+ }
+ }
+}
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Mar 02 21:35:05 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/87f2f5183dfb \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/telemetry.lib Wed Mar 02 21:35:05 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/Overdrivr/code/telemetry/#8e3de1a314e1