mbed demo / Mbed OS Blinky_Tests

Dependencies:   Blinky

Fork of Blinky_Tests by Sarah Marsh

Files at this revision

API Documentation at this revision

Comitter:
mbed_demo
Date:
Wed Nov 09 16:56:19 2016 +0000
Parent:
5:4f1e6b065e6b
Child:
7:cb3da0486f3c
Commit message:
Utilize times_blinked function in main ;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 08 22:43:52 2016 +0000
+++ b/main.cpp	Wed Nov 09 16:56:19 2016 +0000
@@ -5,5 +5,6 @@
     blinker.start();
     Thread::wait(5000);
     blinker.stop();
+    printf("Times blinked: %f",blinker.times_blinked());
 }