Try not using your ADCON statements. I've never used them & always worked for me. Also try the internal oscillator @ 4MHZ. Your program looks like it should work.
Try not using your ADCON statements. I've never used them & always worked for me. Also try the internal oscillator @ 4MHZ. Your program looks like it should work.
Thanks for your help.
I have got rid of the ADCON commands, and fitted an lcd display, it now works, kind of. It will work as an 8 bit a/d. Very strange, as I said I have used the 10 bit a/d of an 818 before. 8 bits will do though, in this case.
Regards
Bob...
Bookmarks