Debouncing a Switch in Hardware or Software
When you flip a switch or press a button two metal contacts come together. It might seem like they make immediate contact and complete a circuit. However, in reality as they make contact they mechanically bounce, making brief contact several times before making a solid connection. In some cases this bounce can also be electrical […]