Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Revision:
32:bf5f545621aa
Parent:
28:3261015fdd17
Child:
33:ff87df17c55d
--- a/main.cpp	Thu Dec 11 05:57:54 2014 +0000
+++ b/main.cpp	Thu Dec 11 06:08:13 2014 +0000
@@ -9,9 +9,6 @@
 
 int main() 
 {
-    long Counter = 0;
-    DigitalOut StatusLED(LED1);
-    StatusLED = 0;
     Serial pc(USBTX, USBRX);
     pc.baud(115200);
     pc.printf("Connceted to PC \r\n");
@@ -19,12 +16,8 @@
     pc.printf("DataGlove Cube Client\r\n");
     while(true) 
     {
-        MasterGlove.ReceiveBlocking();
+        MasterGlove.Receive();
         //pc.printf("Looping \r\n");
         //wait(0.1);
-        if(Counter++%25 == 0)
-        {
-            StatusLED = !StatusLED;
-        }
      }
 }