>I have spent so long solving this problem, it has driven me crazy. I hope it (snip) >both the pull-up and the base resistor were >10k, which if you ignore the base emitter drop of the transistor, was acting >like a potential divider. I would like to propose a name change for Microchip, Inc., to Microchip(RA4=OpenDrain), Inc. Hmm, that might freak out the plumbing profession. Barry -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics