Modify the BlinkTicker example to use LED1, LED2, and LED3 for showing the three least significant bits of an 8 bit counter

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
vicara
Date:
Tue Nov 13 13:56:53 2018 +0000
Parent:
3:22314e85092e
Commit message:
Removed log

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Nov 13 13:52:53 2018 +0000
+++ b/main.cpp	Tue Nov 13 13:56:53 2018 +0000
@@ -28,7 +28,6 @@
         led3 = 0;
     }
     
-    printf("%u - %u - %u \n", counter & (1 << (0)), counter & (1 << (1)), counter & (1 << (2)));
     counter++;
 }