![](/media/cache/group/ep_LV4vK4D.webp.50x50_q85.jpg)
9.6 Schreibt die Lauflicht Übung aus dem 1. Kurs auf die LED Strips um.
Dependencies: mbed
Fork of 09-05-Uebung by
Diff: main.cpp
- Revision:
- 2:cc8f334b9c12
- Parent:
- 1:4e24bd21f2ce
--- 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] );