阅读:1148回复:2
windows下如何通过vc获得串口的地址和中断
请教各位高手:
windows下如何通过vc获得串口的地址和中断 |
|
最新喜欢:abc009... |
沙发#
发布于:2002-12-17 05:56
Please look at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/communications_functions.asp Perhaps the function GetCommState is what you need. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfiles/html/msdn_serial.asp for Serial Communications in Win32 |
|
板凳#
发布于:2003-01-23 20:06
1打开串口hCom=CreateHandle(.....)
2获得局柄 3,WriteFile(hCom,... ,... ,..,..) or ReadFile(..,..,) |
|
|