hello friends;
i am new learner of pic.
i am using mplab 8.56v and HI-TECH C compiler.
i have done simple led blinking program.
now,i want to do programming of adc of pic16f877a.
i want to use simple 1 bit input as RA0 and output as PORTB or PORTD.
i want to display my output on hyper terminal.
please,send me the pgoram.
thank you.
kishan
i am not getting the output.
here is my code:
#include<pic.h>
void serial()
{
SPBRG=25;
SYNC=0;
BRGH=1;
SPEN=1;
TXEN=1;
}
int ADCvalue = 0;
void main(void)
{