Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gesture / distance sensor not functional #13

Closed
TheKitty opened this issue Feb 10, 2020 · 4 comments
Closed

Gesture / distance sensor not functional #13

TheKitty opened this issue Feb 10, 2020 · 4 comments

Comments

@TheKitty
Copy link

TheKitty commented Feb 10, 2020

Debra (@geekmomprojects on Twitter) has been trying to use the Light + Gesture + Proximity: APDS9960 and it has been either returning no value (distance) or irregular values (gesture). The underlying library is quite old (9/2017) and may not be entirely functional. I'll post this on that library too.

@TheKitty
Copy link
Author

@geekmomprojects
Copy link

When running the following sample code from the adafruit_clue library documentation to retrieve data from the gesture sensor:

from adafruit_clue import clue

while True:
    print("Gesture: {}".format(clue.gesture))
    print("Proximity: {}".format(clue.proximity))

I get results for proximity but almost no nonzero results for gesture. To get any nonzero gesture readings at all, the gestures need to be very close (millimeters) away from the sensor.

@ladyada
Copy link
Member

ladyada commented Feb 10, 2020

hi please try running the example in this repo
https://github.com/adafruit/Adafruit_CircuitPython_APDS9960
as the issue isn't the CLUE library but the APDS library :)

@ladyada
Copy link
Member

ladyada commented Feb 10, 2020

closing this issue - please continue all discussion
adafruit/Adafruit_CircuitPython_APDS9960#16
so that we have one thread to follow - thank you :)

@ladyada ladyada closed this as completed Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants