9.6 Schreibt die Lauflicht Übung aus dem 1. Kurs auf die LED Strips um.

Dependencies:   mbed

Fork of 09-05-Uebung by th.iotkit1.ch

Revision:
2:cc8f334b9c12
Parent:
1:4e24bd21f2ce
diff -r 4e24bd21f2ce -r cc8f334b9c12 main.cpp
--- a/main.cpp	Sun May 24 07:27:19 2015 +0000
+++ b/main.cpp	Thu Mar 31 13:07:13 2016 +0000
@@ -9,13 +9,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] );