Example program using the mbed 23 LEDs prototype shield. The shield has 23 LEDs attached to D0-D15, A0-A5, plus one for power indication.

Dependencies:   mbed

mbed 23 LEDs shield

Files at this revision

API Documentation at this revision

Comitter:
screamer
Date:
Wed May 07 10:46:16 2014 +0000
Parent:
0:ccfe324ca25b
Child:
2:3061b8fd1e57
Commit message:
Turn on all LEDs when finished

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Apr 11 10:16:51 2014 +0000
+++ b/main.cpp	Wed May 07 10:46:16 2014 +0000
@@ -6,7 +6,7 @@
  
 int main()
 {
-    for (i=0; i<65535; i++) {
+    for (i=0; i<=65535; i++) {
         bus1 = i;
         bus2 = i;
         wait(0.001);