Basic code for multiplexing LU-3011 11 Digit 7 Segment Display

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
logictom
Date:
Fri Oct 07 02:30:51 2011 +0000
Parent:
0:61e6eaba7852
Commit message:

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 61e6eaba7852 -r 763fde365f8e main.cpp
--- a/main.cpp	Fri Oct 07 02:26:38 2011 +0000
+++ b/main.cpp	Fri Oct 07 02:30:51 2011 +0000
@@ -85,8 +85,8 @@
         {   // Loop Counting
             for (unsigned int i=0; i<2000000000; i++)
             {   //Loop - arbitary value
-                showNum(i);  //
-                wait_us(50);
+                showNum(i);     //Update number
+                wait_us(50);    //Wait period
             }
         }