Quote:
Originally Posted by basicxman
Are you using the ADXL345? In which case you need to use the ADXL345_I2C class, not the Accelerometer class.
|
Quite correct.
Quote:
|
Again, what is I2C? A macro? A constant?
|
In the code Elliot posted, I2C is undefined. That's why the compiler choked on it.