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.cpp
- Revision:
- 11:a70c76711630
- Parent:
- 10:85636c7eb8aa
- Child:
- 12:cab3f7305522
--- a/IMU.cpp Thu Feb 02 08:27:44 2012 +0000 +++ b/IMU.cpp Thu Feb 02 08:31:20 2012 +0000 @@ -39,7 +39,7 @@ } - int gyroX(void) { + int IMU::gyroX(void) { char poke = GYRO_XOUT_H_REG; char peek[2]; @@ -52,7 +52,7 @@ } - int gyroY(void) { + int IMU::gyroY(void) { char poke = GYRO_YOUT_H_REG; char peek[2]; @@ -65,7 +65,7 @@ } - int gyroZ(void){ + int IMU::gyroZ(void){ char poke = GYRO_ZOUT_H_REG; char peek[2]; @@ -78,7 +78,7 @@ } - int* gyroXYZ(void) { + int* IMU::gyroXYZ(void) { char poke = GYRO_XOUT_H_REG; char peek[6]; @@ -95,7 +95,7 @@ } - void gyroSetLPF(char _BW) { + void IMU::gyroSetLPF(char _BW) { char poke[2] = [ GYRO_DLPF_REG, _BW };