RGB LEDs Control
Dependencies: mbed QEI PololuLedStrip
Diff: main.cpp
- Revision:
- 1:3d89bcd21002
- Parent:
- 0:a3a9c486fc68
- Child:
- 2:69cc4148a7fa
diff -r a3a9c486fc68 -r 3d89bcd21002 main.cpp --- a/main.cpp Wed Feb 27 02:45:50 2013 +0000 +++ b/main.cpp Thu Feb 28 00:04:20 2013 +0000 @@ -34,9 +34,8 @@ while(1) { - uint32_t time = timer.read_ms(); - // Update the colors array. + uint32_t time = timer.read_ms(); for(int i = 0; i < LED_COUNT; i++) { uint8_t phase = (time >> 4) - (i << 2);