On 31 Dec 2005 at 12:21, Olin Lathrop wrote: > Bob Blick wrote: > > There's no need to debounce switches unless you poll them faster > > than the bounce time. And the only reason you'd need to poll them > > that fast is if you need low latency, like with a trigger. I > > generally poll 20 times per second and that works just fine. > > This is fine if you're only worried about bouncing on transitions. If you > are doing filtering or the switch could bounce in one of the states (like a > momentary pushbutton), then you need to sample faster and apply debouncing > or filtering logic. Hi Olin, You're going to have to back that up with details or we'll all just decide you're blowing smoke (or inhaling it, this is New Year's Eve, after all :) Cheerful regards, Bob -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist