Quote Originally Posted by comwarrior View Post
I could be wrong, but doesn't a TrisA=00000000 command reset the analogue registers?
Sort of...
TRISX sets input or output. But not the type of input.