Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of 1-09-06-Uebung by
Revision 3:e612c5f0c23d, committed 2016-03-31
- Comitter:
- marcel1691
- Date:
- Thu Mar 31 13:04:58 2016 +0000
- Parent:
- 2:0362ad565944
- Commit message:
- alle 3 LED beruecksichtigen
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 25 18:51:10 2016 +0000 +++ b/main.cpp Thu Mar 31 13:04:58 2016 +0000 @@ -11,13 +11,13 @@ void writeLED() { - for ( int p = 0; p < 6; p++ ) + for ( int p = 0; p < 9; p++ ) spi.write( strip[p] ); } void clearLED() { - for ( int p = 0; p < 6; p++ ) + for ( int p = 0; p < 9; p++ ) { strip[p] = 0; spi.write( strip[p] );