> TRIS is the direction register...but how do you actually set PORTB,3 to be > tristated, dbankif trisb ;make sure banks set for access to TRISB bsf tribs, 3 ;set RB3 to high impedence > then set for an output, dbankif trisb ;make sure banks set for access to TRISB bcf tribs, 3 ;set RB3 to be an output ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.