Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Committer:
kalbers
Date:
Sun Dec 07 21:49:33 2014 +0000
Revision:
15:b48ac00af0b8
Parent:
14:0c4a26dc6873
Child:
28:3261015fdd17
Child:
36:4a58639da6cf
Added a reconnect to GloveWifi.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kalbers 1:587189fb6d87 1
kalbers 3:5f5d75cba8e1 2 #include "mbed.h"
kalbers 3:5f5d75cba8e1 3 #include "main.h"
kalbers 3:5f5d75cba8e1 4 #include "DataGlove.h"
kalbers 1:587189fb6d87 5
kalbers 1:587189fb6d87 6
kalbers 3:5f5d75cba8e1 7 DataGlove MasterGlove;
kalbers 1:587189fb6d87 8
kalbers 13:c701f1122797 9
kalbers 3:5f5d75cba8e1 10 int main()
kalbers 3:5f5d75cba8e1 11 {
kalbers 13:c701f1122797 12 Serial pc(USBTX, USBRX);
kalbers 13:c701f1122797 13 pc.baud(115200);
kalbers 13:c701f1122797 14 pc.printf("Connceted to PC \r\n");
kalbers 3:5f5d75cba8e1 15 MasterGlove.Init();
kalbers 13:c701f1122797 16 pc.printf("DataGlove Cube Client\r\n");
kalbers 3:5f5d75cba8e1 17 while(true)
kalbers 3:5f5d75cba8e1 18 {
naren 14:0c4a26dc6873 19 MasterGlove.Receive();
kalbers 15:b48ac00af0b8 20 //pc.printf("Looping \r\n");
kalbers 15:b48ac00af0b8 21 //wait(0.1);
kalbers 1:587189fb6d87 22 }
kalbers 1:587189fb6d87 23 }