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
Revision 1:5863255898a3, committed 2014-05-07
- 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);