Good thinking. Do you also keep the pin an output and low untill you need t= o read the switch? In a worst case (induced noise) scenario it would keep t= he voltage on the pin from floating around and possibly entering the analog= region causing unwanted consumption or mis-operation.=20 Yes, I should have said. =20 There is another fun device that I built some time back. Wire a 6V relay so that the normally closed contacts are in series with the= relay. Now add a shielded cable of about a meter, and connect the shield t= o the battery side of the contacts, and the center conductor to the coil si= de through a good capacitor that can take some current, 0.1uF or thereabout= s, and on the other end, fabricate a small coil of 10-30 turns. Add a pus= hbutton in series with the battery, and you have "Angry Bees". The pulses of current through the coil have significant energy, and you can= then probe around your system to see what's "sensitive". --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .