×

SparkFun Electronics will be closed in observance of memorial day on Monday, May 29th. We will resume normal business hours on Tuesday, May 30th. Any orders placed after 2pm Mountain Time on Friday, May 26th will process and ship out on Tuesday, May 30th.

Member #304608

Member Since: February 25, 2012

Country: United States

  • 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 :(