Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of dgps by
Diff: main.cpp
- 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);