Hello Unregistered ,
If TRISA = 1 you only have PORTA.0 configured as an input. If you're using A0 to A5 then you'll need TRISA = %00111111.
Regards, -Bruce tech at rentron.com http://www.rentron.com
Forum Rules
Bookmarks