Hi,
I am trying to compile and load the arduino example MinIMU9AHRS.pde using the arduino IDE version 23 and get several errors. The first is that it can not find I2C_Init. I updated the arduino library folder to include the L3G4200D and LSM303 libraries. Where is I2C_Init defined?
I am following the instructions on the pololu / MinIMU-9-Arduino-AHRS github site and it does not mention the I2C library.
Here are the errors:
MinIMU9AHRS.cpp: In function ‘void setup()’:
MinIMU9AHRS:157: error: ‘I2C_Init’ was not declared in this scope
MinIMU9AHRS:164: error: ‘Accel_Init’ was not declared in this scope
MinIMU9AHRS:165: error: ‘Compass_Init’ was not declared in this scope
MinIMU9AHRS:166: error: ‘Gyro_Init’ was not declared in this scope
MinIMU9AHRS:172: error: ‘Read_Gyro’ was not declared in this scope
MinIMU9AHRS:173: error: ‘Read_Accel’ was not declared in this scope
MinIMU9AHRS.cpp: In function ‘void loop()’:
MinIMU9AHRS:210: error: ‘Read_Gyro’ was not declared in this scope
MinIMU9AHRS:211: error: ‘Read_Accel’ was not declared in this scope
MinIMU9AHRS:216: error: ‘Read_Compass’ was not declared in this scope
I got a feeling I am missing something very simple.
Mike