>Be very careful about your MCLR line. If even the tiniest transient gets >into this part of the circuit, it can throw the PIC into "partial reset" >which is essentially "the loony bin". I use a 10K resistor to 5V, then a >ceramic capacitor right up next to the PIC, and short lines to a robust 5V >bus. In a really noisy environment you may also need a small electrolytic >on this line, as well as a small electrolytic next to your PIC, adjacent >to the ceramic cap you already have. Be careful about capacitors on the MCLR line- they can cause ICSP to misbehave. In fact, the usage guide for the ICD2 specifically warns against putting any capacitors on MCLR. Mike H. _________________________________________________________________ Get fast, reliable Internet access with MSN 9 Dial-up now 3 months FREE! http://join.msn.click-url.com/go/onm00200361ave/direct/01/ -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu