ecaits
Member level 4
Dear All Friends,
I am working on PIC16F877 for ADC.
I am giving analog input 0-5V to pin AN0 by 0-5 volt pots.
Suppose, I am giving 2.5 V by pots on AN0. Now I am measuring the voltage at pin AN0 so I am getting apporx. 2.5V. But when I run the program by MPLAB, at that time I am getting approx 4.97 V at pin AN0.
Why this happen??? I cannot understand.
Plz help me.
I am working on PIC16F877 for ADC.
I am giving analog input 0-5V to pin AN0 by 0-5 volt pots.
Suppose, I am giving 2.5 V by pots on AN0. Now I am measuring the voltage at pin AN0 so I am getting apporx. 2.5V. But when I run the program by MPLAB, at that time I am getting approx 4.97 V at pin AN0.
Why this happen??? I cannot understand.
Plz help me.