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
The class doc states that it expects a Pin but, when given a Pin object, the library throws this error:
Pin
>>> light = APDS9960(i2c, interrupt_pin=board.PROXIMITY_LIGHT_INTERRUPT) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "adafruit_apds9960/apds9960.py", line 155, in __init__ AttributeError: 'Pin' object has no attribute 'switch_to_input'
Since this internal variable is never used it may be best to just remove it.
The text was updated successfully, but these errors were encountered:
This has been addressed with #34 merged in, closing this issue. :D
Sorry, something went wrong.
No branches or pull requests
The class doc states that it expects a
Pin
but, when given aPin
object, the library throws this error:Since this internal variable is never used it may be best to just remove it.
The text was updated successfully, but these errors were encountered: