Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

main.cpp

Committer:
naren
Date:
2014-12-07
Revision:
14:0c4a26dc6873
Parent:
13:c701f1122797
Child:
15:b48ac00af0b8

File content as of revision 14:0c4a26dc6873:


#include "mbed.h"
#include "main.h"
#include "DataGlove.h"


DataGlove MasterGlove;


int main() 
{
    Serial pc(USBTX, USBRX);
    pc.baud(115200);
    pc.printf("Connceted to PC \r\n");
    MasterGlove.Init();
    pc.printf("DataGlove Cube Client\r\n");
    while(true) 
    {
        MasterGlove.Receive();
        pc.printf("Looping \r\n");
        wait(0.5);
     }
}