I like Bruce's example because I feel it allows more control.Is there any advatage of reading the analog value using ADCIN vs. Bruces example? Any disadvatages?
Example:
I can when reading multiple channels, or one channel for that matter, switch from 8 or 10 bit with
ADCON1.7 = 1
or
ADCON1.7 = 0
I have not checked to see if one way is faster or uses less code space.
Bookmarks