Button de-bouncing
If you are dealing with a physical button in one of your hardware project, you'll probably end up having a issue with mechanical bounces of the button when changing state.
Because a button is often build with a spring (or some elastic material) to provide tactile feedback (or...