imu01c

Revision:
3:a55edecc96e2
Parent:
2:4bfc36c368c2
--- a/LSM303D.h	Tue Feb 09 07:46:40 2016 +0000
+++ b/LSM303D.h	Wed Jul 20 14:13:23 2016 +0000
@@ -89,9 +89,14 @@
         //! Pitch
         float  pitch;
         
+        //! MAG Minimal readings
         vector min; 
         
-        vector max; 
+        //! MAG Maximal readings
+        vector max;
+        
+        //! MAG Min-Max estimated range
+        vector spreed;   
         
         /** Create a new interface for an LSM303D
          *
@@ -135,7 +140,7 @@
     
         /** Set Mag Limits 
          */
-        void set_limits(void);
+        void set_limits(int mode);
     
     
         /** sets the I2C bus frequency