Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: ledCube.cpp
- Revision:
- 41:367cab0162de
- Parent:
- 40:bdd949fc3bc2
- Child:
- 43:cf824a44a040
--- a/ledCube.cpp Thu Dec 11 10:18:48 2014 +0000 +++ b/ledCube.cpp Thu Dec 11 12:08:27 2014 +0000 @@ -24,7 +24,7 @@ #define DATA_OUT_PIN2 3 // PTD3 -LedCube::LedCube():X(0),Y(1),Z(2),ledStrip1(nLEDs, DATA_OUT_PIN1),ledStrip2(nLEDs, DATA_OUT_PIN2) +LedCube::LedCube():X(0),Y(1),Z(2),ledStrip1(nLEDs, DATA_OUT_PIN1),ledStrip2(nLEDs/2, DATA_OUT_PIN2) { }