If you’re still talking about button input, Schmidt triggered inputs are only useful because you’re doing the debounce in hardware.
A Schmidt trigger input might help interpret a slope which is artefact of a capacitor you put there, but button bounce is square,
and alternates logic high and low, and is invisible to a Schmidt trigger.
We do this for logic, but when you’re looking at the port yourself, you ignore any high to low transition (or vice versa, depending how the button was set up)
for a duration after the last high to low transition you acted on. A software timer (loop counter) makes it a snap.
Bookmarks