>well...searching around, haven't found a way to actually tristate a port >pin? > >TRIS is the direction register...but how do you actually set PORTB,3 to be >tristated, then set for an output, and back and forth. Well there is a TRIS instruction that they say not to use (because it is not in every processor), but the reliable way is to change the bank bits so that you are addressing TRISB instead of PORTB and then you just change the register bit. That's in assembler. If you want to do it in C the compiler manual will tell you how. Basically, "input" is the same as "tristate" ...that's in both languages, BTW. Barry -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.