摘要: #include<reg51.h> #include<stdio.h> void UartInit(void) //初始化波特率为9600 { SCON=0x50; TMOD=0x20; TCON=0x40; TH1=0xfd; TI=1; TR1=1; } void main() { UartIn 阅读全文
posted @ 2016-07-25 15:25 大方_only 阅读(4446) 评论(0) 推荐(0) 编辑