Communication
Button2
Lennart Hennigs <mail@lennarthennigs.de>
Arduino/ESP library to simplify working with buttons.
It allows you to use callback functions to track single, double, triple and long clicks. Alternatively, it provides function to use in your main loop(). The library also takes care of debouncing. Using this lib will reduce and simplify your source code significantly.
Go to repositoryThis library is compatible with all architectures so you should be able to use it on all the Arduino boards.