This article will help you build a simple Arduino-based DCC system. Growing up in the 1980s I was living the dream. I had an ...
Arduino/ESP button library that provides callback functions to track single, double, triple and long clicks. It also takes care of debouncing.