我想读串口 [英] I want to read the serial port
问题描述
嗨:
我已经能够通过序列发送数据使用MFC C ++ 2017的端口.ON和OFF按钮发送命令。
我想要能够从串口读取消息并将其显示在下方图像的位置。
观看视频。
这是MFC和Arduino的教程。
它只会打开和关闭最短系列的LEd。 (在西班牙语中h)。
教程。
有谁知道如何使用MFC C ++读取串口?
使用"Visual Studio Community 2017"。
;)
http://electronica-pic.blogspot.com
我从这里开始:
https://msdn.microsoft.com/en-us/library/ff802693.aspx
或此处:
HTTPS://www.codepr oject.com/Articles/2682/Serial-Communication-in-Windows
或此处:
或者这里:
如果您使用首选搜索引擎你会发现更好的例子。 Windows下的串行通信并不是什么新鲜事。这是因为NT4没有改变。
Hi:
I have been able to send data through the serial port with MFC C ++ 2017. The ON and OFF buttons send commands.
I want to be able to read the messages from the serial port and show it where it indicates the image below.
Here a tutorial on MFC and Arduino. It only turns an LEd on and off for the shortest series. (In Spanish).
Does anyone know how to read the serial port with MFC C ++?
Use "Visual Studio Community 2017".
;)
http://electronica-pic.blogspot.com
I'd start here:
https://msdn.microsoft.com/en-us/library/ff802693.aspx
or here:
https://www.codeproject.com/Articles/2682/Serial-Communication-in-Windows
or here:
or here:
If you use your prefered search engine you will finde even more good examples. The serial communication under windows is nothing really new. It is since NT4 not changed.
这篇关于我想读串口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!