Open JonasPhilbert opened 7 years ago
This happened to me as well. I hope to see a fix soon.
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
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.