SparkFun Electronics will be closed on July 3rd, 2015 in observance of Independence Day. Any orders placed after 2:00pm MT on July 2nd will be shipped out after the weekend. Thanks!
Frequently Asked Questions
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
February 25, 2012
about 3 years ago
just wondering how to change the measurement up to +/-16g?
the datasheet for the accelerometer ADXL345 says the measurement range is “user selectable” to ±2, ±4, ±8, ±16g!
The c code in the firmware v2.0 for the adxl345 has a line of code as follows:
adxl345_write(DATA_FORMAT, RANGE_1); //Configure the Accelerometer for +/-8g
this is the only code i can find to change but dont know what to change in it as im new to programming.
Thanks for the help
No public wish lists :(
Forgot your password?
No account? Register one!