#include<reg51.h>
#include<stdio.h>
Uart_Init();
main();
{ Uart_Init();
EX0=1;
EA=1;
while(1);
}
void int0() interrupt 0 using 0
{ printf("Timer 0 overflow\n");
}
Uart_Init()
{SCON=0x52;
TMOD=0x20;
TCON=0x69;
TH1=0xf3;
}
怎么調(diào)試不出來(lái)
歡迎光臨 (http://www.torrancerestoration.com/bbs/) | Powered by Discuz! X3.1 |