A basic library for the FXOS8700Q combination accelerometer / magnetometer

Dependencies:   MotionSensor

Dependents:   K64F_eCompass_LCD Hello_FXOS8700Q rtos_compass K64F_eCompass ... more

This library supports the 6 axis combination Accelerometer / Magnetometer. Functions are provided to retrieve data in raw 16 bit signed integers or unit converted G's and micro-teslas

Revision:
2:ab84f99086e5
Parent:
1:8b53edef272f
diff -r 8b53edef272f -r ab84f99086e5 FXOS8700Q.h
--- a/FXOS8700Q.h	Sun Apr 13 21:22:58 2014 +0000
+++ b/FXOS8700Q.h	Mon Apr 14 17:13:15 2014 +0000
@@ -73,6 +73,7 @@
    *
    * @param res array where acceleration data will be stored
    */
+   void enable(void);
   void getAccAllAxis(float * res);
   void AccXYZraw(int16_t * d);
   void MagXYZraw(int16_t * d);