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:
7:af9f373ac87b
Parent:
6:fae3d66a4e21
Child:
8:0ce247da6370
--- a/UM6_config/UM6_config.h	Sat May 25 14:21:01 2013 +0000
+++ b/UM6_config/UM6_config.h	Sat May 25 14:29:36 2013 +0000
@@ -462,7 +462,7 @@
                                     // Ground course 
                                    MY_DATA_GPS_COURSE = (int16_t)new_packet.packet_data[0]<<8; //bitshift it
                                    MY_DATA_GPS_COURSE |= new_packet.packet_data[1];
-                                   data.GPS_course = MY_DATA_GPS_COURSE*0.01;  // need to divide by 100 to get ground course in degrees
+                                   data.GPS_course = MY_DATA_GPS_COURSE;  // need to divide by 100 to get ground course in degrees
 
                                     // Speed
                                     MY_DATA_GPS_SPEED = (int16_t)new_packet.packet_data[2]<<8; //bitshift it