Also in the datasheet for a 2550/4550...
The internal AD/RC oscillator is not a good idea on PIC chips if you want extreme accuracy.
<img src="http://www.picbasic.co.uk/forum/attachment.php?attachmentid=2395&stc=1&d=120499947 4" />
Try a different AD clock setting ...Also, since you're not using ADCIN, the ADC_ DEFINE's don't do anything.Code:ADCON2=%10100110 ; 64 TOSC, 8-TAD sample
<br>
Bookmarks