Yes, I think I have
ADCON1 is set as 7, trisA=1 and TrisE0=1, trisE1=1 and trisE2=1
Regards
Chris
Yes, I think I have
ADCON1 is set as 7, trisA=1 and TrisE0=1, trisE1=1 and trisE2=1
Regards
Chris
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.
Hi Bruce,
How stupid can I get, I am so used to setting a whole port to outputs with trisA=0 that I forgot that BIN 11111111 = DEC 255.
Excuse me for wasting your time!
Regards
Chris
Bookmarks