Robert Bui / Mbed 2 deprecated CubicHand

Dependencies:   MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed

Fork of CubicHand by Model-Based Team

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 
00002 #include "mbed.h"
00003 #include "main.h"
00004 #include "DataGlove.h"
00005 
00006 
00007 DataGlove MasterGlove;
00008 
00009 
00010 int main() 
00011 {
00012     Serial pc(USBTX, USBRX);
00013     pc.baud(115200);
00014     pc.printf("Connceted to PC \r\n");
00015     MasterGlove.Init();
00016     pc.printf("DataGlove Cube Client\r\n");
00017     while(true) 
00018     {
00019         MasterGlove.Receive();
00020         //pc.printf("Looping \r\n");
00021         //wait(0.1);
00022      }
00023 }