Wouter van Ooijen wrote: > This is new to me. You say a pushbutton (lika an ordinary keyboard > key) could bounce *while being pressed down*? Yes, depending on how the switch is constructed. If the pushbutton directly activates the switch closure, then wiggling it can cause noise or bounce. > And if so, how would you recognise such a bounce? By it being much shorter time than a real release and press. I usually figure a human can't do much of anything in less than 50mS and use that as my debounce time. The kind of noise I'm talking about could be higher resistance or complete open for microseconds, usually not milliseconds, certainly not 50mS. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist