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

Files at this revision

API Documentation at this revision

Comitter:
marcel1691
Date:
Thu Mar 31 13:07:13 2016 +0000
Parent:
1:4e24bd21f2ce
Commit message:
alle 3 LED ansprechen

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
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] );
diff -r 4e24bd21f2ce -r cc8f334b9c12 mbed.bld
--- a/mbed.bld	Sun May 24 07:27:19 2015 +0000
+++ b/mbed.bld	Thu Mar 31 13:07:13 2016 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/7e07b6fb45cf
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/c0f6e94411f5
\ No newline at end of file