Brooke Clarke wrote: > If you mean an input switch in general I've found that hardware debounce > is noticeably faster than software debounce. It is possible to adapt the speed of a firmware debounce to the bouncing characteristics of your switch. Say you know that, depending on how you hit the switch, the bounces take approx. between 1ms and 5ms. So you could trigger on three equal samples that are 4ms apart from each other (to have some safety margin), which gives a worst case response time of 17ms. I don't think that many would be able to notice a difference between these 17ms worst case and what you would get with a hardware debounce. (Besides, the 17ms worst case are a rare occurrence; the minimum is 8ms and the average will probably be around 13ms or so, depending on the bounce characteristics.) What kind of firmware debounce are you using that you get noticeable differences? Gerhard -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist