Added external magnetometer functionality
Dependencies: HMC58X31 MODI2C MPU6050 MS561101BA
Fork of FreeIMU by
Diff: FreeIMU.h
- Revision:
- 13:21b275eeeda2
- Parent:
- 9:a79af1283446
--- a/FreeIMU.h Mon Feb 10 01:13:34 2014 +0000 +++ b/FreeIMU.h Thu Sep 18 08:43:06 2014 +0000 @@ -121,6 +121,7 @@ void init(bool fastmode); void init(int accgyro_addr, bool fastmode); + void sample(bool sampling); #ifndef CALIBRATION_H void calLoad(); @@ -129,6 +130,7 @@ void getRawValues(int16_t * raw_values); void getValues(float * values); void getQ(float * q); + void getRate(float * r); void getEuler(float * angles); void getYawPitchRoll(float * ypr); void getEulerRad(float * angles);