Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
13:a6d3cf2b018e
Parent:
12:e42985e3ea64
Child:
14:6be57da62283
--- a/main.cpp	Sat Apr 05 22:27:18 2014 +0000
+++ b/main.cpp	Mon Apr 07 01:30:04 2014 +0000
@@ -103,10 +103,15 @@
 
 int main()
 {
+    //getPS().sendPacket(55,NULL,0,PT_IMAGE);char output[256];for(int i=0;i<256;i++){output[i]=i;}getPS().sendPacket(55,output,256,PT_IMAGE);getPS().sendPacket(55,output,5,PT_IMAGE);getPS().sendPacket(55,NULL,0,PT_END);while(true){}
     ImageHandle imageHand;
     GPSHandle gpsHand;
     /// Main Loop
-    USB::getSerial().printf("Starting\n");
+    USB::getSerial().printf("Starting %d\n",sizeof(PacketStruct));
+    //while(1){
+        //USB::getSerial().printf("Test\n");
+        //XBEE::getSerial().printf("ABC\n");
+    //}
     while(1){
         // Run image handler
         imageHand.run();