SparkFun_APDS-9960_Sensor_Arduino_Library
SparkFun_APDS-9960_Sensor_Arduino_Library copied to clipboard
Added non-blocking version of readGesture()
I needed a non-blocking read, so I can poll until there's something ready. I had already adopted @MarcFinns changes so they're here too. Please excuse... everything - it's my first rodeo.
This will return DIR_NONE until it deems the gesture is over with, when it returns its best guess.
I just wanted to chime in and say that I have tried this code on both an Arduino Nano and a Teensy 3.2 and it works very well on both of them. Thank you for your effort in implementing this, it really makes a big difference to my project!
Excellent, thanks for giving the feedback. So glad it wasn't just me that benefited from it.
On Wed, 29 Sept 2021 at 16:57, Chris Miller @.***> wrote:
I just wanted to chime in and say that I have tried this code on both an Arduino Nano and a Teensy 3.2 and it works very well on both of them. Thank you for your effort in implementing this, it really makes a big difference to my project!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sparkfun/SparkFun_APDS-9960_Sensor_Arduino_Library/pull/14#issuecomment-930310430, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACL42EM7V3KT76PCTR5QYZTUEMZNZANCNFSM46YFGPHQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.