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