Mechanical switches play an important role in many microcontroller and microprocessor applications. These types of switches are simple, inexpensive, and easy to install. But, the perceived simplicity ...
Measure the output of the switch and then add 20% additional time to the switch bounce window. If your button or switch has two states make sure to measure both the open and close state, the bounce ...