ARCO 1500

Build your own 8 bit gaming console based on the Arduino platform


Blog / 14 September 2019 / by Michal Škoula

Improvements on debounce

Yesterday I solved one very long-term problem. All buttons, especially start and action, suffered from a bouncing problem. Once you press the button, it can triggers more times than needed.

There are two options on dealing with bouncing. You can go with hardware solution or software.

Hardware option is just putting a capacitor into the right spot.

Software option consist of remebering the last time button was pressed and do not allow pressing it within a short period of time, lets say 100-200 ms.

Comments