Open ugemassolo opened 10 months ago
DATA_FORMAT
is a register address (0x31) and should stay unchanged. DATA_FORMAT_B
defines the measurement range and some other data formatting params:
You'll also need to update the accConversion
accordingly.
Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf
Hi, I am looking for help to change the sensing range of the sensor. I would like to know what I should change for it to work correctly, since from what I understand, not only do you have to change the scaling factor but also the DATA_FORMAT. Thanks!