LIS2DH12 position of 6D.
I use LIS2DH12 to determine the position of 6D. My task is to get interruption when the accelerometer is positioned with the + X axis at an angle of 50 degrees or more. Autumn X is also disabled. In this case, the acceleration along the X axis = 1g. I give below the register settings:
CTRL_REG3 (22h) = 0x40
INT1_CFG (30h) = 0b11000010
INT1_THS (32h) = 0x2F
INT1_DURATION (33h) = 0x02
CTRL_REG1 (20h) = 0b00101111
These are all the settings that I enter in the accelerometer. I don’t touch any registers anymore. What am I missing, help.
