Remi Beges / Mbed 2 deprecated telemetry_example_01

Dependencies:   BufferedSerial mbed telemetry

Files at this revision

API Documentation at this revision

Comitter:
Overdrivr
Date:
Wed Mar 02 21:35:05 2016 +0000
Child:
1:234cbe65336d
Commit message:
Initial commit

Changed in this revision

BufferedSerial.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld 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
--- /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