Pages

Powered By Blogger

Saturday, 11 June 2011

Serial Tx


#include<reg51.h>

void main()
{
TMOD=0x20;
TH1=0xFD;
SCON=0x50;
TR1=1;
while(1)
{
SBUF='A';
while(TI==0);
TI=0;
}
}

No comments: