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
GPIO Digital Interrupts not working #85
Comments
Describe the bug Interrupts for digital pins are not working, only polling. The debug messages show an exception. Environment
Configuration
DEBUG
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Interrupts for digital pins are not working, debounce time seems to never end.
Environment
Configuration
Diagnosed and solved in #84, problem is incorrect operator on line 239 of
mqttany/gpio/pins/digital.py
should be/
not*
. Multiplication results in default 50,000 second debounce time.mqttany/mqttany/gpio/pins/digital.py
Line 239 in 3893c4f
Also should not be casting to
int
on line 295 as the value for epoch microseconds will not fit in a 32bit integer.mqttany/mqttany/gpio/pins/digital.py
Line 295 in 3893c4f
The text was updated successfully, but these errors were encountered: