Chris McSweeny wrote : > as I can just bo a bcf followed by a movlw, movf TRIS > to switch the pin which is OC Or simply do : bcf gpio, the-pin bcf trisio, the-pin Note that there is *no* RMW issue with the TRIS register ! > (and investigation shows the pull-up is only to ~0.2V anyway!) Hm, is there anything else pulling the "line" low ? Normaly the pullup should keep the line "idle" at close to the supply voltage (5 V or whatever). Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist