C51串口通信(中断模式)T2产生波特率
时间:2018-09-06 14:00:02
手机看文章
扫描二维码
随时随地手机看文章
[导读]#include#define uchar unsigned charuchar temp;void serial()interrupt 4 using 1{if(RI){RI=0;temp=SBUF;SBUF=temp;}else if(TI)TI=0;}main(){uchar string[]="AT89C52 Microcomputer!Designer: Grarry Meng";uch
#include