shalini v
Newbie level 3

sir i wrote a program for displaying 10bit adc values in lcd. It is working in some pic18f4580 kit but in some pic 18f4580 kit the values are varying from 0 to 588 only. pls help me to rectify the problem.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
//
ADCON2.ADCS2=1; // FOSC /64
ADCON2.ADCS2=1; // .. au lieu de ADCS1
ADCON2.ADCS2=1; // .. au lieu de ADCS0