I don't recall seeing this tidbit, so I thought I'd comment. Regarding the bounce, i origianally had problems witht he hall switch > bouncing. but i now used a relay for the switch to contact, and have yet no > bounce problems when flashing a led with this setup. However this was > before > i put a PIc in the picture. > Don't be fooled by watching an LED. Switch bounce is way faster than your eye can see. You would need an oscilloscope to see it. Or...a fast processor...! If you have contact bounce, you will get tens of counts with each switch closure. And that's why everyone is talking so enthusiastically about it. Barry -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist