>> Or any recommendation of a cheap hardware configuration. Two cross-coupled gates (really a SR flip-flop) or a single non-inverting buffer with out tied to in are "classic" hardware debouncers (for SPDT switches), and cost only the price of coupla logic gates: a few cents. But software may be cheaper, depending on the cost of your time :-) Dave Johnson