>This may seem like a stupid question but why does my PIC reset from noise >on >Vcc? In your specific case, as others have pointed out, your reset may not in fact be due directly to the "noise" generated by the switch, but rather the drop in Vcc. However, I have had applications where noise from servos or motors caused very bad reset conditions when the battery supply dropped to ~5.1 VDC. Worked fine with the source at >5.1 VDC, but once the battery dropped, I had major problems. To make matters worse, different PICs would behave differently, even among those from the same series (i.e. 16C71 worked 100% better in the same application than the 16C711 did). I never did get that problem figured out, though I haven't done much testing on cleaning up the noise on the servo lines. If you find a good solution, please post it; I'd be interested. --Andrew _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu