hz_dyg 發(fā)表于 2021-10-22 13:37
看數(shù)據(jù)手冊,串口模塊和對應(yīng)寄存器,別人教不會的!
hz_dyg 發(fā)表于 2021-10-22 13:37
看數(shù)據(jù)手冊,串口模塊和對應(yīng)寄存器,別人教不會的!
十點差三分 發(fā)表于 2021-10-22 19:22
void InitUART(void)
{
TMOD = 0x20;
188610329 發(fā)表于 2021-10-22 20:33
你加4句,去掉2句,應(yīng)該就可以了
bit Uart_Busy;
| 歡迎光臨 (http://m.raoushi.com/bbs/) | Powered by Discuz! X3.1 |