ADXL345 Library as part of the 9DOF stick from Sparkfun.com
Dependents: 9DOF-Stick 10dof aigamozu_program_ver2 aigamozu_program_ver2_yokokawa ... more
Diff: ADXL345.cpp
- Revision:
- 1:45faba962a46
- Parent:
- 0:1e4aa22fc1a1
diff -r 1e4aa22fc1a1 -r 45faba962a46 ADXL345.cpp --- 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;