Republished Library, to be refined for use with the SparkFun 9DOF in HARP project.
Fork of ADXL345 by
Diff: ADXL345.cpp
- Revision:
- 1:45faba962a46
- Parent:
- 0:1e4aa22fc1a1
- Child:
- 2:e64d8b9096cd
--- a/ADXL345.cpp Fri Oct 07 19:13:33 2011 +0000 +++ b/ADXL345.cpp Fri Oct 07 21:06:14 2011 +0000 @@ -57,7 +57,7 @@ //400kHz, allowing us to use the fastest data rates. //there are other chips on board, sorry - //i2c_.frequency(100000); + i2c_.frequency(100000); // initialize the BW data rate char tx[2]; tx[0] = ADXL345_BW_RATE_REG;