We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
"ir.get_distance()" returns greater value when object gets closer.
if ir.get_distance() > 30: led.set_on()
Returned distance value should be less when object gets closer.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue.
The function has now been renamed to get_proximity for clarity and will be updated in the next version, 0.8.0.
Sorry, something went wrong.
No branches or pull requests
Description
"ir.get_distance()" returns greater value when object gets closer.
What I Did
if ir.get_distance() > 30: led.set_on()
What I Expected
Returned distance value should be less when object gets closer.
The text was updated successfully, but these errors were encountered: