【文件属性】:
文件名称:串行通讯-pda开发
文件大小:874KB
文件格式:PPT
更新时间:2021-04-26 09:32:43
pda开发
串行通讯
// Traditional Win32 way.
hSer = CreateFile(TEXT(“COM1:”), GENERIC_READ, 0, NULL, OPEN_EXSITING, 0, NULL);
rc = ReadFile(hSer, &ch, 1, &cBytes, NULL);
TransmitCommChar(hSer, ‘a’);
CloseHandle(hSer);
问题 : 我们能用什么, 除了 “COM1”以外