zulkifliaziz
Junior Member level 1
Hi, i'm having a problem where i got syntax error for the following code. Can anyone help.
void main()
{
unsigned long Vin_value;
TRISB=0;
TRISA=0xFF;
ADCON1=0x80;
do {
Vin_value = Adc_Read(0);
} while(1);
}
the problem saying that "Undeclared identifier 'Adc_Read' in expression"
Can anyone help. thanks
void main()
{
unsigned long Vin_value;
TRISB=0;
TRISA=0xFF;
ADCON1=0x80;
do {
Vin_value = Adc_Read(0);
} while(1);
}
the problem saying that "Undeclared identifier 'Adc_Read' in expression"
Can anyone help. thanks