-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Partial Reverse #21
Comments
Hey Christian, I used your example and modified it a bit to test.
|
THANK YOU - I really was trouble shooting all my inputs and ever until I read the actual code 🤣 i was really getting crazy - was just using the method for debugging but it was saying the opposite as it was supposed to do.. Awesome that you have fixed it - really good work with this very tiny library |
Thank you! |
It seems like the isPressed() method is somehow reversed..
When all is behaving as it should - click working etc.. the status of isPressed is 0 when the button is pressed and 1 when the button is released?
Is that by intension or is it a bug?
I have this code running on a Wemos ESP8266 Mini D1 Lite what what is the reference for isPressed - imo it should return 1 if the button is pressed, and 0 if released
I have tried to init the button with activeLow = false also, but still i always endup getting the "reverse" of what i expect in the isPressed() method..
The text was updated successfully, but these errors were encountered: