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

Files at this revision

API Documentation at this revision

Comitter:
Ductapemaster
Date:
Thu Feb 02 08:31:20 2012 +0000
Parent:
10:85636c7eb8aa
Child:
12:cab3f7305522
Commit message:
Fixing method names

Changed in this revision

IMU.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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 };