Mechanical switches can and will produce contact bounce. The interior of a switch usually contains contacts and springs, this is what causes the small (but annoying) distortion of a digital signal. Remember that digital signals are discrete steps. In the figure below you will see what happens when using a mechanical switch to drive a digital circuit.![]() |