Quote Originally Posted by PICante View Post
Setting up the 10-bit ADC I expected a 0 – 1023 range, what I got was 0 to 65472 !!?
That's from the ADFM bit. For 10-bit A/D, use ADCON0.7 = 1 ; right justify

The math depends on what you're reading, but this might help ..
http://www.picbasic.co.uk/forum/showthread.php?p=2010
<br>