Can someone explain how to calculate the mg, dps, and temperature for the data read from the corresponding registers? I'm trying to understand how to determine the scaling. The datasheet eludes to using the rate and FS settings to determine this.
Yes, the Full Scale (FS) setting determines "range" of the 16-bit values, ie for +/-16G into +32767/-32768
16 / 32768 = 488E-6 or 0.488mG
int16_t LA; // register content
la = (double)LA * 0.488e-3; // Linear Acceleration in G
Retrieving data ...