Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
44:2ae602b89961
Parent:
42:c78632c16d54
Child:
46:f89fc45811a1
--- a/main.cpp	Wed Apr 23 04:20:40 2014 +0000
+++ b/main.cpp	Wed Apr 23 04:45:36 2014 +0000
@@ -7,6 +7,7 @@
 #include "handle/handleCommand.h"
 #include "handle/mavcommands.h"
 #include "handle/dataLocation.h"
+#include "handle/handleCompass.h"
 #define DELAYBOOT 1
 
 Serial pc(USBTX,USBRX);
@@ -138,6 +139,8 @@
         while(1){
             USB::getSerial().printf("Running GPS...\r\n");
             GPSHandle::getGPSHand().run();
+            USB::getSerial().printf("Running Compass...\r\n");
+            compassHandle::getCompassHand().run();
             USB::getSerial().printf("Requesting commands from egg...\r\n");
             if(count % 100 == 0){
                 wait_us(100000);