Added external magnetometer functionality

Dependencies:   HMC58X31 MODI2C MPU6050 MS561101BA

Dependents:   Quadcopter_mk2

Fork of FreeIMU by Yifei Teng

Revision:
2:5c419926dcd7
Parent:
0:21840c01d3d7
Child:
3:f9b100a9aa65
diff -r 794e9cdbc2a0 -r 5c419926dcd7 FreeIMU.h
--- a/FreeIMU.h	Tue Nov 05 11:31:39 2013 +0000
+++ b/FreeIMU.h	Tue Nov 05 13:38:07 2013 +0000
@@ -136,6 +136,8 @@
     float getBaroAlt();
     float getBaroAlt(float sea_press);
     
+    void getQ_simple(float* q);
+    
     // we make them public so that users can interact directly with device classes
 
       MPU6050 accgyro;
@@ -163,8 +165,7 @@
     int dt_us;
     //unsigned long lastUpdate, now; // sample period expressed in milliseconds
     float sampleFreq; // half the sample period expressed in seconds
-    
-    void getQ_simple(float* q);
+
 };
 
 float invSqrt(float number);