On Sat, Feb 11, 2012 at 10:12 AM, Mark Hanchey wro= te: > 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 Mark are the PIC output pins pulled low? When you program the PIC the pins are floating so they could randomly go high and switch your relays. Or if the relays are attached to the PGC or PGD lines then you need to do something differently. --=20 Martin K. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .