I am using this pin as an input. I had "TRISB = %1000" at the front of my program, and this pin would always come up as an output, in the low state. This is a 4 bit port, and the data sheet says the lower 4 bits of TRISB are ignored. It appears that this is not the case, for when I change to "TRISB = %10000000", it works! Can someone confirm this for me, so I'll know I'm not crazy?
Thank you.
Bookmarks