A project similar to http://mbed.org/users/lhiggs/code/UM6_IMU_AHRS_2012/, where I'm trying to log data from a UM6 (CH Robotics orientation sensor) and a GPS transceiver to an sd card. I've adapted LHiggs code to include ModGPS. For sum reason a soon as I pick up a gps signal the UM6 data freezes i.e. the time and gps signals continue to print out but the UM6 signals fixes on a single value.

Dependencies:   MODGPS MODSERIAL SDFileSystem mbed

Revision:
0:52295643d083
Child:
1:9fe40d9ac0f5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu May 23 13:29:26 2013 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+
+LocalFileSystem local("local");  // sets up local file on mbed
+Serial pc(USBTX, USBRX);  // sets up serial connection to pc terminal
+
+DigitalOut myled(LED1);   // debug LED
+DigitalIn enable(p10);    // enable signal for logging data to file
+
+int main() {
+  while(1) {
+    if(enable==1) {
+        myled=1;
+        wait(0.2);
+        myled=0;
+        wait(0.2);
+    }
+  }
+}