Just a guess...
This makes the ADC right justified
This will make it left justified. Left justified is "normal"for 8 bit.Code:ADCON1=%10000010 '?? Setup to read analog inputs
Code:ADCON1=%00000010
Just a guess...
This makes the ADC right justified
This will make it left justified. Left justified is "normal"for 8 bit.Code:ADCON1=%10000010 '?? Setup to read analog inputs
Code:ADCON1=%00000010
Dave
Always wear safety glasses while programming.
Thanks Guys!
I've made it work. I changed ADCON1=%10000010 to ADCON1=%00000010 and this fixed the problem. So, your guess was exactly correct!
Well, it was an educated guess....
That is why I asked about the chip being used so I could look at the correct data sheet
Have FUN!!!
Dave
Always wear safety glasses while programming.
Bookmarks