You can do it “good enough” or you can do it right, but if you’re going to physically debounce your buttons you can read the rest of this section and get back to work, ignoring the following software ...
A quick google search reveals that there are over 212,000 websites that examine how to debounce a button. After examining a number of them, though, it is obvious to me that these implementations are ...