当前位置:蓝冠 | 蓝冠招商注册-蓝冠开户-机电工程
>
-
#include <iostream> #include “serial_debug.h” using namespace std; int debug_wait() { #if DEBUG cout << “press any key to contine” << endl; getchar(); #endif return 0; } bool creat_serial(HANDLE &hComm,string strPort) { hComm = CreateFile(strPort.c_str(), GENERIC_RE...
-