![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: main.cpp
- Revision:
- 13:c701f1122797
- Parent:
- 3:5f5d75cba8e1
- Child:
- 14:0c4a26dc6873
--- a/main.cpp Fri Dec 05 22:54:35 2014 +0000 +++ b/main.cpp Sat Dec 06 23:25:32 2014 +0000 @@ -6,13 +6,18 @@ DataGlove MasterGlove; + int main() { + Serial pc(USBTX, USBRX); + pc.baud(115200); + pc.printf("Connceted to PC \r\n"); MasterGlove.Init(); - printf("DataGlove Cube Client\r\n"); + pc.printf("DataGlove Cube Client\r\n"); while(true) { - MasterGlove.Receive(); - printf("Looping \r\n"); + //MasterGlove.Receive(); + pc.printf("Looping \r\n"); + wait(0.5); } }