源码文件 serial #include #define UCHAR unsigned char #define RLEN 4 UCHAR data r_buf[RLEN]; //串行接收缓存区的大小(非循环) UCHAR r_in,check;…