Adafruit_APDS9960 icon indicating copy to clipboard operation
Adafruit_APDS9960 copied to clipboard

Gesture Sensing & Code Blocking

Open epiller opened this issue 3 years ago • 3 comments

Is there any possibility to make the gesture sensing non-blocking? At the moment, when gestures are enabled and something is in close proximity of the sensor, everything in the program is blocked. Assuming there's no blocking functions in the user's code, could a function, say, "apds.update()" that's running in the loop function achieve the same functionality without blocking everything else? Is this a sensor hardware/firmware limitation or just the way the library was written?

epiller avatar Apr 28 '21 08:04 epiller