Here's a version for Arduino. You could port it as-is, or look at how it works and re-implement it. Plenty of other examples on the web:
https://github.com/poelstra/arduino-multi-button
https://github.com/poelstra/arduino-multi-button
Statistics: Posted by ame — Tue Jun 11, 2024 1:29 am