There are a few things to do differently.
First thing is obvious, DEFINE ADC_BITS 10
And, Right Justify the result ADCON1.7 = 1
Then go here, and start using 12-bits or more.
http://www.darreltaylor.com/DT_Analog/
<br>
There are a few things to do differently.
First thing is obvious, DEFINE ADC_BITS 10
And, Right Justify the result ADCON1.7 = 1
Then go here, and start using 12-bits or more.
http://www.darreltaylor.com/DT_Analog/
<br>
DT
Bookmarks