Redwood Shores, 24 januari 2006. Dear Rolf, All documentation I have seen so far states that the PIC always sets the I/O pins to input, preferably analog, if available. So the only time that an I/O pin would be output and high is if your own code does this. It is possible that your code will run during programming (I've seen it happen with my own code) so just make sure that it doesn't make the output high at that time. Alternatively you could protect various parts using a zener diode, although I have little experience with that. Greetings, Maarten Hofman. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist