i m using PIC16F877.. i write a program that will use two potentiometer as analog input..RA0,RA1
my problem is the range value show by RA0 is ok(mean that it can show from 000-1000) , but for the same program code, when i take as input at RA1, the range value become 000-994..
when i choose to change the both RA0 and RA1 to RA1 and RA2, the both range value result show 000-994 but not 000-1000 as initially..
i would like to know whether it is the source code problem or hardware problem..
or only 1st analog pin can show accurate result..
thanks..
my problem is the range value show by RA0 is ok(mean that it can show from 000-1000) , but for the same program code, when i take as input at RA1, the range value become 000-994..
when i choose to change the both RA0 and RA1 to RA1 and RA2, the both range value result show 000-994 but not 000-1000 as initially..
i would like to know whether it is the source code problem or hardware problem..
or only 1st analog pin can show accurate result..
thanks..