You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to set the input mode of a pin to "INPUT_PULLUP", strange behavior occurs.
In this case, we have the input connected to a simple toggle-switch, which, if PULLUP is set, always returns a LOW.
Looking through the prototype sketch, there seems to never be a reference to PULLUP, which might explain why it seems to be impossible to set the input type to PULLUP.
Hey guys, check out my fork. https://github.com/hamsolo474/Python-Arduino-Command-API
I added the INPUT_PULLUP functionality for you, however I don't have an arduino to test this on any more.
If one of you could test this I'll submit a pull request
Activity
imeesa commentedon Jun 6, 2023
This happened to me as well. I hope to see a fix soon.
hamsolo474 commentedon Jun 7, 2023
Hey guys, check out my fork.
https://github.com/hamsolo474/Python-Arduino-Command-API
I added the INPUT_PULLUP functionality for you, however I don't have an arduino to test this on any more.
If one of you could test this I'll submit a pull request