Hi I am curious about the best way to debounce a trigger switch in hardware. These switches will be used in extreme conditions(-40 to 85, very strict EMI restrictions, etc.) My initial idea is to just put a simple low pass filter (RC circuit) on the input from the switch to the microcontroller pin. I'd do some research to figure out what is a good time constant for the application. Is this acceptable, or do I need to do something more active like schmitt triggers? I'd like to throw in a resistor/cap and call it a day, but I must do a very effective design. I've no experience, so anyone that can tell me some advice would be appreciated.