Driver library for the Freescale FXOS8700Q sensor
Dependencies: MotionSensor
Dependents: el14dg_Project frdm_serial_peopleAndComputing simple-client-app-shield pelion-example-frdm ... more
Fork of FXOS8700Q by
Diff: FXOS8700Q.h
- Revision:
- 4:be6abf9f2d59
- Parent:
- 3:eb1271ef90bc
- Child:
- 5:c4176a12f7d5
diff -r eb1271ef90bc -r be6abf9f2d59 FXOS8700Q.h --- a/FXOS8700Q.h Thu Apr 17 17:54:13 2014 +0000 +++ b/FXOS8700Q.h Sat Apr 19 00:16:49 2014 +0000 @@ -113,13 +113,20 @@ float getAccZ(); /** - * Get XYZ axis acceleration + * Get XYZ axis acceleration in G's * * @param res array where acceleration data will be stored */ void getAccAllAxis(float * res); /** + * Get XYZ axis magnetic readings in micro-teslas + * + * @param res array where acceleration data will be stored + */ + void getMagAllAxis(float * res); + + /** * Get XYZ axis acceleration, signed 16 bit values * * @param res array where acceleration data will be stored