Other Parts Discussed in Thread: OPT3001
Dears,
I want to achieve the following funciton through OPT3001. When the result register detects that the lux exceeds the value of the high and lower limit registers that I set, INT will output a low level to trigger the interrupt of my board.
According to the manual, I think the latched window-style comparison mod should be used, and I understand that opt3001 will automatically compare each detected lux with the set value of the high and lower limit registers, no need to tell the sensor through code, right?
Configuration register set to 0xCE10
But when the lux (eg 2.xx) detected by the result register is lower than the lower limit register (eg 20), the output level of the sampled INT still does not change.It should have changed from 1 to 0.
Please tell me if I am missing something?
Looking forward to your answers and support, thanks in advance