Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: led.cpp
- Revision:
- 12:df94d17b5bee
- Parent:
- 10:9d87a886f066
diff -r e880e844f258 -r df94d17b5bee led.cpp --- a/led.cpp Fri Dec 05 22:37:03 2014 +0000 +++ b/led.cpp Fri Dec 05 22:54:35 2014 +0000 @@ -14,14 +14,16 @@ #define MMA8451_I2C_ADDRESS (0x1d<<1) -#define X 0 -#define Y 1 -#define Z 2 - #define PANEL1 0 #define PANEL2 1 #define PANEL3 2 +unsigned const X = 0; +unsigned const Y = 1; +unsigned const Z = 2; + + + int pos[3]; int size = 0;