Quote Originally Posted by lilimike View Post
Anyways looking in the PBP bible 5.41 it says that using TRISB.5 = 1 is a more efficient way ...
It does say that, doesn't it?
Well, it's not entirely correct.

It would be more efficient than the first example in the manual INPUT 0, because it has to figure out what pin 0 refers to.
But there is no difference at all between INPUT PORTB.5 and TRISB.5 = 1. They both generate the exact same code.

I figured not using anything might be even more efficient so I just removed the last line altogether and the reading is still good.
So do you think leaving it out is ok or is there a chance it might create issues?
That should be OK too.
The following OW commands will control the TRIS bit and leave it in INPUT mode when it's finished.