try this | Electronics › Electronics › Read a character from serial port and send back › try this March 28, 2013 at 6:19 am #9380 umar farrokParticipant try this code SCON=0X50; TMOD=0X20; TL1=TH1=0XFD; TR1=1; inside main while(RI==0); { RI=0; msg=SBUF; SBUF=msg; while(TI==0); TI=0; }