I would like to connect a mechanical switch to an interrupt pin on an Arduino Uno processor where the interrupt is configured for CHANGE interrupts (i.e., triggers on either a positive-going or negative-going signal).
I've found numerous approaches for implementation of debounce circuitry for positive or negative going signals, but I have not found suggestions for circuitry that can debounce either positive-going or negative-going signals.
Essentially, I want to use a single interrupt pin that can detect the opening or closing of an external switch, and I'd like to debounce the input using a hardware approach.
To be a bit more specific, the switch in question will open and close up to 200 times per second and I'd like to determine the amount of time it is closed each time it goes through an on/off cycle. I.e., I'm not talking about a button pushed by the user.