Example of using Ticker or Timeout with libmDot Ticker did not work with the mDot instantiated

Fork of Ticker_HelloWorld by mbed_example

Files at this revision

API Documentation at this revision

Comitter:
jreiss
Date:
Wed Feb 28 13:47:41 2018 +0000
Parent:
5:36b17c45c560
Commit message:
Ticker and Timeout work with mDot

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 36b17c45c560 -r f9d35ed0d0d8 main.cpp
--- a/main.cpp	Wed Feb 28 13:44:33 2018 +0000
+++ b/main.cpp	Wed Feb 28 13:47:41 2018 +0000
@@ -31,8 +31,8 @@
 //}
 // 
 
- 
-Timeout flipper;
+Ticker flipper;
+// Timeout flipper;
  
 void flip() {
     led2 = !led2;