Hi All,
I am pleased to report that I have resolved this problem
I had omitted setting up the ADCON2 register
I also needed to set the output format to Sign-Magnitude and then shift the result six places to the right to achieve right justified resultCode:ADCON2 = %00001111
Hopefully this post may help someone in the future.Code:ADCIN 0, Adval1 Adval1 = Adval1 >> 6
Cheers
Barry
VK2XBP
Bookmarks