Hello Unregistered ,
Originally Posted by Woogle Trisa=%00000001 'Sets PortA RA0 and RA1 as ip rest as output. Your Trisa statement only sets RA0 as in input. Your comment says you want to also set RA1 as input. Therefore you need TRISA = %00000011 .
Forum Rules
Bookmarks