On Wed, 17 Feb 1999 14:24:12 -0500 John Esposito writes: >Any ideas? Hardware or software? I can't do much else until I figure >out >what is going on here. You didn't say anything about having a pullup or pulldown resistor on the switch input. If the switch is just a single pole, single throw one, when it is open the PIC input is floating. The floating input picks up noise which gets worse as you get close to the circuit. If your switch is from Vdd to the input, connect a resistor (10K or so) from the input to ground to be sure the input stays low while the switch is open. ___________________________________________________________________ You don't need to buy Internet access to use free Internet e-mail. Get completely free e-mail from Juno at http://www.juno.com/getjuno.html or call Juno at (800) 654-JUNO [654-5866]