Rolf wrote: > The author concludes that there is only one hard-ware mechanism for a > reliable debounce, and that there are few good software versions. I pretty much always debounce in firmware. Usually I need something like a system a timer interrupt anyway, so I just use that to poll and add a simple "safety wait". Very simple, cheap and robust. Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist