So I'm experiencing weirdest thing. I'm using Sparkfun APDS-9960 library and GestureTest to test out the module.
In my project, I want to use NANO and APDS-9960. But for some reason only the gesture example doesn't work on my NANO while it works on UNO. Every other sketch works on both of my boards.
On NANO it inits and starts the gesture engine, but it doesn't recognize anything.
Is there a way to troubleshoot it?
After some tinkering there is problem with readgesture method, this is how it looks.
engine start passes,
right after engine start ISR gets triggered, even though nothing is in front of sensor
isGestureAvailable is triggered successfully (even though there is nothing to sense)
and then it gets stuck in readgesture method.