Interface library for the Atmel Inertial One IMU. Contains drivers for the ITG 3200 3 axis gyro, BMA-150 3 axis accelerometer, and AK8975 3 axis compass
Diff: IMU.h
- Revision:
- 10:85636c7eb8aa
- Parent:
- 9:f17d822e2645
- Child:
- 12:cab3f7305522
--- a/IMU.h Thu Feb 02 08:10:38 2012 +0000 +++ b/IMU.h Thu Feb 02 08:27:44 2012 +0000 @@ -129,7 +129,7 @@ * * @return Array of X, Y, and Z axis gyro measurements (signed 16 bits) */ - int[3] gyroXYZ(void); + int* gyroXYZ(void); /** Sets digital LPF bandwidth for all gyro channels * @@ -145,7 +145,7 @@ - protected: + private: I2C _i2c; //I2C object constructor