> Won't the PIC's protection diode clamp the voltage at the pin close to > 3.3V? That would mean the MOSFET wouldn't turn off, and the PIC would > be operating out of spec; both sound bad. Good idea. But then, it would not work with PortD either, if the diod isn't brooken there that is... And anyway, the problem was to get the FET to turn *on*, not off, if I'm not mistaken. Jan-Erik. -- 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