开发者

Using Serial Port with Visual Studio 2010 Application

开发者 https://www.devze.com 2023-04-12 09:27 出处:网络
I\'m developing an application with Visual Studio 2010. I would like to send inputs and read through the serial port. I\'m not sure how to go about this. Any help would be greatly apprec开发者_C百科ia

I'm developing an application with Visual Studio 2010. I would like to send inputs and read through the serial port. I'm not sure how to go about this. Any help would be greatly apprec开发者_C百科iated.

Thanks!


You can open serial ports with CreateFile: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858%28v=vs.85%29.aspx

Though, if you're totally new to this, you should probably start here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa363196%28v=vs.85%29.aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号