smd.iotkit1.ch / Mbed 2 deprecated FernsehSimulator

Dependencies:   mbed

Fork of 1-09-06-Uebung by smd.iotkit1.ch

Files at this revision

API Documentation at this revision

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] );