What's all this TRIS stuff, anyway? I repeately see discussions about how using this TRIS instruction is such a naughty thing to do. Now, "tristate" and "setting to input" aren't exactly the same but I don't really see an explicit tristate capability in the hardware. Is there a difference? I don't really believe they want to take away the ability to configure port direction. I have been searching the literature and what I think the deal is that you are still welcome to stuff numbers into the TRIS registers as long as you do it yourself. But there are, or used to be, or are about to not be, special TRIS opcodes that could stuff the number directly, without having to code it in the usual way, and it looks like it would even go into the other bank for you without your having to play with the bank bits. Stay away from that instruction, and just pretend the microcontroller is a microcontroller, and set the register yourself, and all will be well. Did I get it right? Barry -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu