Haii all ..
I have a doubt with analog inputs in pic16f877a....I have designed a temperature indicator using lm35 and pic 16f877a(AN0 pin used) it is working well also.
I found a scenario that when we connect any of other analog inputs (AN1 to AN7) to VCC then the temperature reading increasing...
Haii all I have a problem related with Microc PIC IDE (v8.2)
I have 2 timer interrupts(tmr2,tmr1) in my program..like this..
void interrupt(){
if (PIR1.TMR1IF) {
PIR1.TMR1IF=0;
cnt++ ;
TMR1H = 0x80;
TMR1L = 0x00;
}
else if(PIR1.TMR2IF)
{
PIR1.TMR2IF=0;
cnt2++ ...