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 FernsehSimulator by
Diff: main.cpp
- Revision:
- 3:e612c5f0c23d
- Parent:
- 2:0362ad565944
- Child:
- 4:f6840272e341
diff -r 0362ad565944 -r e612c5f0c23d main.cpp
--- 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] );
