说明: 串口操作封装类: 包括: BOOL WriteComm(char* lpBuffer, int nLen); // 写串口 BOOL ReadComm(char* lpBuff, int nLen); // 读串口函数 BOOL SetTimeOuts(COMMTIMEOUTS stTimeOuts); // 设置超时时间 BOOL SetComm(int nBaudRate/*波特率*/,int nParity/*奇偶校验*/,int nByteSize, i nt nStopBits);
<hnlblxh> 上传 | 大小:2kb