2022-01-17 11:22 PM
Hello,
I am testing the interrupt modes and I have an issue when CONFIG_GPIO_INTERRUPT_LEVEL_HIGH is set to raise the interrut when far objects are detected, but the interrupt is triggered as soon as the continuos mode is started (whit no object in front of the sensor).
Is this the normal behaviour?
Regards, Ramon.
2022-01-18 09:22 AM
I have heard of getting one un-intended interrupt just after the start. It should only be 1 thought.
simply clearing it and moving on with your routine should work.
Do you get more than 1 interrupt that was unexpected?