Library for read the sensor LSM303D by I2C and configure the sensor for measure with frecuency 100Hz and range +-2g
Dependents: 1-K64F_with_5_acel
Fork of LSM303D by
Diff: LSM303D.h
- Revision:
- 1:27d47f5de82c
- Parent:
- 0:5b930e09bd6e
- Child:
- 2:fcd607760ee8
--- a/LSM303D.h Wed Feb 03 20:57:01 2016 +0000 +++ b/LSM303D.h Thu Dec 01 08:14:40 2016 +0000 @@ -21,7 +21,7 @@ * @param mx,my,mz is the magnetometer 3d vector, written by the function */ bool read(float *ax, float *ay, float *az, float *mx, float *my, float *mz); - + bool readA(double *ax, double *ay, double *az); private: I2C _LSM303;