When you define ADFM=0 (default) and read the ADRESH register you are in fact converting the 10-bit reading into an 8-bit reading. This is done for you by using the 'DEFINE ADC_BITS 8' command.
Hope this helps.
When you define ADFM=0 (default) and read the ADRESH register you are in fact converting the 10-bit reading into an 8-bit reading. This is done for you by using the 'DEFINE ADC_BITS 8' command.
Hope this helps.
Bookmarks