Specification for AT89C51 Baud rate - 9600 Clock - 12MHz SMOD - 1 TH1 - 0xF9 so is my code correct? Code: void serial_send() { SCON=0x50; TMOD=0x20; TH1=0xF9; TR1=1; TI=1; } Confusedman
Thank you for letting me know as I have learnt a great deal from the link and your information. In fact I believed that 11.059MHz would be ideal to replace 12MHz due to better accuracy but I wanted to make sure. So thank you again Confusedman