This is a newbie question since that is what I am. I am trying to make RA0 - RA5 digital inputs, meaning I don't want them in analog mode. I have tried all sorts of adjustments with adcon1. I just don't understand how to do this. Please help. Thanks
This is a newbie question since that is what I am. I am trying to make RA0 - RA5 digital inputs, meaning I don't want them in analog mode. I have tried all sorts of adjustments with adcon1. I just don't understand how to do this. Please help. Thanks
Have you tried ADCON1 = 7? That should make them all digital.
Don't forget CMCON. The default power on value for CMCON is 7, which means
the comparator module should be disabled, but it's something to remember
just in case.
Try ADCON1=6
------------------Picster----------------
It worked as you expected. I thought I had tried that but apparently not. Thanks.
Bookmarks