rajathirajan
Newbie level 1
Hi ..... am using MPLAB V8 and Hitech C Compiler , I dont know how to configure fuses in the programs, and i also write the code in serial program but i con't get out from that program can any send the sample program...or pls correct and send the program..
#include<pic.h>
__CONFIG( HS & WDTDIS );
void main()
{
unsigned char mybyte[]="WELCOME";
unsigned int i=0;
TXSTA=0x24;
SPBRG=64;
SPEN=1;
while(1)
{
TXREG=mybyte;
while(TXIF==0);
i++;
}
}
#include<pic.h>
__CONFIG( HS & WDTDIS );
void main()
{
unsigned char mybyte[]="WELCOME";
unsigned int i=0;
TXSTA=0x24;
SPBRG=64;
SPEN=1;
while(1)
{
TXREG=mybyte;
while(TXIF==0);
i++;
}
}