I have 4 Mhz crystal easy8051 development board. And i have a simple code about serial com example written in keil above.With the TH!=0xfe value baud rate=5208 but i want the baudrate=9600.How can i do that?
void delay(int wait) { int i; for(i=0;i<=sure;i++) {;} } void main(void) { SCON=0x50; TMOD=0x20; TH1=0xfe; TR1=1; TI=1; printf("hello"); delay(100); while(1); }
wait...
please upload details into mihd.net