Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Revision:
31:0e341d81ea00
Parent:
30:0933d7f2fe78
Child:
34:4a755e3898e4
--- a/ledCube.cpp	Thu Dec 11 05:40:39 2014 +0000
+++ b/ledCube.cpp	Thu Dec 11 06:06:07 2014 +0000
@@ -54,7 +54,16 @@
 
 /*Determines which LED should be lit based on its 
 cartesian coordinate. The origin is the led at
-bottom left of panel 0 when using a three cube panel.  */
+bottom left of panel 1 when using a three panel cube
+     ________
+    /       /|
+   /   3   / |
+  /_______/ 2|
+  |       |  | 
+  |   1   | /
+  |       |
+  --------        
+*/
 
 int LedCube::getLedIndex(int panel, int x, int y) {
     if (panel == PANEL1) {