A basic library for the FXOS8700Q combination accelerometer / magnetometer
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 8:52116f8fb3da, committed 2014-04-26
- Comitter:
- JimCarver
- Date:
- Sat Apr 26 01:36:41 2014 +0000
- Parent:
- 7:c53dda05b8cf
- Child:
- 9:5553a64d0762
- Commit message:
- Changed device settings to improve magnetometer performance
Changed in this revision
FXOS8700Q.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/FXOS8700Q.cpp Fri Apr 25 16:45:51 2014 +0000 +++ b/FXOS8700Q.cpp Sat Apr 26 01:36:41 2014 +0000 @@ -35,7 +35,7 @@ data[1] = 0x00; writeRegs(data, 2); data[0] = FXOS8700Q_CTRL_REG1; - data[1] = 0x18;//0x1D; + data[1] = 0x1C; writeRegs(data, 2); }