satishreddy
Newbie level 4
hello,
iam trying to communicate on hyperterminal from aduc7026 board but iam receiving some bad character on hyper terminal.SO PLEASE help me to come out of problem.program is shown below
#include<aduc7026.h>
void init_uart(void);
int main()
{
static int i;
unsigned char c[]="HELLO";
init_uart();
for(i=0;i<5;i++)
{
while((COMSTA & TEMT)==0)
COMTX=c;
}
void init_uart(void);
{
COMCON=0x80;
COMDIV0=0x93;
COMDIV1=0x00;
COMCON=0x03:
}
iam trying to communicate on hyperterminal from aduc7026 board but iam receiving some bad character on hyper terminal.SO PLEASE help me to come out of problem.program is shown below
#include<aduc7026.h>
void init_uart(void);
int main()
{
static int i;
unsigned char c[]="HELLO";
init_uart();
for(i=0;i<5;i++)
{
while((COMSTA & TEMT)==0)
COMTX=c;
}
void init_uart(void);
{
COMCON=0x80;
COMDIV0=0x93;
COMDIV1=0x00;
COMCON=0x03:
}