Configure LIS2DH for both single click and double click
Hello, I want to configure LIS2DH for generating interrupt for single click as well as double click, Can we do that? I am using INT1 for FIFO so INT2 is for clicks interrupt, Individually I can able to get interrupt from them but when I am combining single and double click in same code, I am not able to get single interrupt, Its showing only for double INT.
My sensors configurations are as below. Please suggest.
CTRL_REG1 =
0x37
CTRL_REG2 = 0x00CTRL_REG3 = 0x04CTRL_REG4 = 0x10CTRL_REG5 = 0x40CTRL_REG6 = 0x80FIFO_CTRL_REG=0x99
CLICK_CFG = 0x3F
CLICK_THS = 0x20TIME_LIMIT = 0x10TIME_LATENCY = 0x10TIME_WINDOW = 0x40Thanks
