Quote Originally Posted by richard View Post
high/low always resets TRIS bit wether it needs to or not (ie already set to output)
which takes a

BANKSEL TRISX
BCF TRISX,PIN
BANKSEL PORTX
BSF/BCF PORTX,PIN
BANKSEL 0

HEAPS OF STUFF
wow, that's a lot of junk going on ;-)
thanks.