Temp Fork
Dependencies: MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed
Fork of CubicHand by
Revision 12:df94d17b5bee, committed 2014-12-05
- Comitter:
- joseoyola
- Date:
- Fri Dec 05 22:54:35 2014 +0000
- Parent:
- 11:e880e844f258
- Child:
- 13:c701f1122797
- Commit message:
- Finished fixing errors
Changed in this revision
| led.cpp | Show annotated file Show diff for this revision Revisions of this file |
| main.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
--- a/main.h Fri Dec 05 22:37:03 2014 +0000 +++ b/main.h Fri Dec 05 22:54:35 2014 +0000 @@ -23,10 +23,6 @@ #define MY_BOARD WIGO -#define X 0 -#define Y 1 -#define Z 2 - void init(); #endif
