Hello Unregistered ,
The datasheet says that setting TRISA = 1 sets the port as input. I believe you have it backward.
Forum Rules
Bookmarks