单片机C51串口中断接收和发送测试例程 #include#include#defineINBUF_LEN4//数据长度unsignedcharinbuf1[INBUF_LEN];unsignedcharchecksum,count3;bit read_flag=0;voidinit_serialcomm(void){ SCON =0x50;//SCON: serail mode 1, 8-bit U... 2023-06-13 单片机C51串口中断接收发送测试例程文章51单片机