Key pin usage #3
-
I've a little sketch use the library up and running |
Beta Was this translation helpful? Give feedback.
Answered by
pschatzmann
Feb 18, 2024
Replies: 1 comment 1 reply
-
The driver just provides an api to query for the pin numbers for the buttons. The logic to read a button you would need to implement yourself. Either by using digitalRead() and some debouncing logic or by using some pin interrupts. Use Google: there should be plenty of tutorials. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pschatzmann
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The driver just provides an api to query for the pin numbers for the buttons. The logic to read a button you would need to implement yourself. Either by using digitalRead() and some debouncing logic or by using some pin interrupts.
Use Google: there should be plenty of tutorials.