Copied from STs implementation.

Dependents:   teensyIMU

Revision:
1:898554a35638
Parent:
0:32f3441153b5
diff -r 32f3441153b5 -r 898554a35638 lis3mdl.h
--- a/lis3mdl.h	Thu Oct 06 16:45:48 2016 +0000
+++ b/lis3mdl.h	Thu Oct 06 23:28:08 2016 +0000
@@ -54,9 +54,11 @@
      * @param 
      */
     LIS3MDL (PinName sda, PinName scl);
+    float mx, my, mz;
+    int16_t mx_raw, my_raw, mz_raw;
 
-    void GetAxes(AxesRaw_TypeDef *pData);
-    void GetAxesRaw(int16_t *pData);
+    void readMag();
+    void GetAxesRaw();
     void    Init();
     uint8_t   ReadID(void);
     void      RebootCmd(void);