NUCLEO-F042K6 Simple demo writing Timer time to UART periodically using Ticker

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
vodsejak
Date:
Sat Feb 10 16:00:26 2018 +0000
Parent:
3:906776a3481e
Commit message:
v2.3;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 906776a3481e -r fd43e0e4fe7d main.cpp
--- a/main.cpp	Sat Feb 10 15:59:44 2018 +0000
+++ b/main.cpp	Sat Feb 10 16:00:26 2018 +0000
@@ -20,6 +20,7 @@
         tim->reset();
         time = tim->read_us();
     }
+    
     return time;
 }