alextaujenis / RBD_Button

Arduino Button Library - Read and debounce buttons and switches without delay or interrupts.
https://robotsbigdata.com/docs-arduino-button.html
MIT License
33 stars 9 forks source link

allow specifying functions to do digitalRead and pinMode #5

Closed Gnurdle closed 4 years ago

Gnurdle commented 7 years ago

We are using this library with a GPIO extender, which has to be implemented a bit differently. I think this is a non-breaking change that allows this library to be used in such (and other) applications which have non-conformant ways of adressing DI's

Thanks, Hoppy

alextaujenis commented 4 years ago

Thank you Clay for your contribution. Since your pull request this library has been significantly refactored. I suggest you update to the latest version of this library and re-apply your changes.