Simple 8x8 LED Matrix controller which interfaces with a Processing GUI over serial to display sketches
Dependencies: Multi_WS2811 mbed
Fork of Multi_WS2811_test by
Diff: main.cpp
- Revision:
- 30:52e9205a8059
- Parent:
- 29:a76075c853ee
- Child:
- 32:7b60b9add4b5
--- a/main.cpp Fri Jan 03 19:17:24 2014 +0000 +++ b/main.cpp Sat Jan 04 00:32:16 2014 +0000 @@ -27,6 +27,7 @@ MMA8451Q acc(PTE25, PTE24, MMA8451_I2C_ADDRESS); PwmOut rled(LED_RED); PwmOut gled(LED_GREEN); +// LED_BLUE is on PTD1 float touchPercentage; unsigned frames; @@ -99,7 +100,6 @@ break; } - wait(0.1); showSolidColor(lightStrip1, r, g, b); showSolidColor(lightStrip2, r, g, b); WS2811::startDMA();