> Often you want to use interrupts instead of polling - well again, you can just ignore subsequent interrupts if they are within too short of an interval.
And you are really screwed if you have to do it with an extremely simple, and cheap IC, like 4 bit micros, because their CPU power may well be not enough for that, especially if they are to control something real time.
This is exactly why super cheap electronics uses conductive rubber buttons. Conductive rubber buttons don't bounce.
Re:Ultimate Guide to Switch Debounce
by ksangeelee on Sunday April 19, 2020 @04:34AM
(#22914421)
Conductive rubber buttons absolutely do bounce (though I presume that was a joke).
??? for as long as I remember, all and everybody was using them exactly for that reason. Slow raising edge can be considered a bounce by some logic, but that is easily fixable by Schmitt triggers
Re:Ultimate Guide to Switch Debounce
by ksangeelee on Sunday April 19, 2020 @01:08PM
(#22917174)
Thanks, that's interesting. I suppose they specifically choose contacts with a high resistance.
Often you want to use interrupts instead of polling - well again, you can just ignore subsequent interrupts if they are within too short of an interval.
Fortunately on many MCUs you can just enable hardware debounce.