How to understand Accelerometer LIS2DH12 output value, and how to configure the INT1_THS register
I have question regarding the accelerometer LIS2DH12.
I'm trying to configure the interrupt, to trigger when e.g. the x-axis goes above a threshold value. Not sure what to put in the INT1_THS register?
and, in the output registers (OUT_X_L and OUT_X_H) what's the value/unit? is it in g, mg or m/s2?
Looked in the datasheet and looks like when the sensor is configured in Normal Mode with +-2g sensitivity, each digit is equal to 4mg?
So if I read out for example the raw value '2000' from x-axis, this should be:
2000x4 = 8000mg = 8g?
How can it be 8g when the measurement range is +-2g?
