Hi Clancy,
I want to send data through UART with 2400 baudrate(Double), databits=8,stopbit=1,parity=none.But UART is not working for this.I detailed configuration used,Kindly update this code and send me formula to calculate baudrate(TH1 register value).
SCON = 0x50; /* 8 bit UART, Enabled reception */
PCON |= 0x80; /* Double baudrate*/
TH1 = 0x7D; /* 2400 baudrate */
ES = ON; /* Enable Serial port interrupt */
PS = 1;