hey frnds. i have problem in sending char serially in normal program. when i try to send 'A' it sends '?'. this is my program. plz help me guyz to solve this problem.
#include<reg51.h> void main(void) { TMOD=0x20; TH1=0xFD; SCON=0x50; TR1=1; while(1) { SBUF='A'; while(TI==0); TI=0; } }