Replies: 1 comment 4 replies
-
|
TIL about Github Discussions. (also maybe +1 for example sketch with multiple ladderbutton) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i am trying to modify This code which is essentially based on the provided example of this library.
in my context:
i have viewed the multiple buttons examples provided here but they are for non-ladder. are there any suggestions you can make to have this work on ladder?
ive tried essentially doubling the lines with _B after each variable/ definitions of the initial code but it seems to always detect the second input as the first one (buttons 1-4) regardless of the Analog input used.
are there any known limitations regarding ladderButton and more then one input?
as a side mention, it seems trying to use INPUT_PULLUP with esp32 results in no pullup applied, but from some searches it seems this is an arduino limitation with analogRead() which changes the pin mode every time. i can work around this with a physical pullup
Beta Was this translation helpful? Give feedback.
All reactions