I have a pic project that uses relays on several pins, none of the pins=20 are programming pins. The problem I having is that anytime I program the=20 chip, 18F46K80 , the relays switch on and off rapidly, this causes a lot=20 of power spiking in the outputs connected and also doesn't do the relay=20 life span any good either. Anyone faced this problem before ? I thought=20 maybe raising the resistor value on the transistors driving the relays=20 might work but wanted to get some input first. Are there pins on the pic that are less susceptible to having their=20 inputs change while being programmed ? Currently it sounds like the=20 relay is switching about 5 or 6 times during programming. Thanks Mark --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .