Peter, On Tue, 3 Jan 2006 01:04:14 +0200 (IST), Peter wrote: > > On Mon, 2 Jan 2006, Howard Winter wrote: > > On Sun, 1 Jan 2006 20:20:58 +0200 (IST), Peter wrote: > >>... > >> Down state bouncing seldomly occurs with new keys. It happens with > >> 'rubber' keys and oxydized contacts or weak springs. > > > > Right, but if you rely on that you are building obsolescence into your > > software, since mechanical switches do change as they age, but are > > still usable even with a noisy signal if you debounce properly. > > I do not follow you here. Rely on what ? Some new rubber keys cannot > make their mind up whether they are up or down after 10 pushes. > Metal/metal pushbuttons can start to show signs of old age after six > months. I was advocating debouncing for both up and down, in software. > Maybe I made myself misundestood ;-) Ah yes, I see what you mean now! I thought you were saying that debouncing wasn't needed with "new keys" because they don't bounce. Sorry - it seems we are in violent agreement! :-) Cheers, Howard Winter St.Albans, England -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist