Hi all,
I have written a embedded C program for serial data transmission (i.e. a single letter "A")
#include<reg51.h>
void main (void)
{
TMOD=0x20;;
TH1=0xFA;
SCON=0x50;
TR1=1;
while(1)
{
SBUF='A';
while(TI==0);
TI=0;
}
}
then assist me to see output in hyper terminal.
If you know steps for this, kindly reply me.............
I have written a embedded C program for serial data transmission (i.e. a single letter "A")
#include<reg51.h>
void main (void)
{
TMOD=0x20;;
TH1=0xFA;
SCON=0x50;
TR1=1;
while(1)
{
SBUF='A';
while(TI==0);
TI=0;
}
}
then assist me to see output in hyper terminal.
If you know steps for this, kindly reply me.............