![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
串口
jirryzhang
。
展开
-
Robotmasters
#include <opencv2/core/core.hpp>#include <opencv2/highgui/highgui.hpp>#include <opencv2/imgproc/imgproc.hpp>#include <iostream>#include <time.h>#include <stdio.h&...原创 2017-05-02 21:18:37 · 1297 阅读 · 0 评论 -
Window使用串口API编程
1. 打开串口在32位的Windows系统中,串口和其它通信设备是作为文件处理的。串口的打开、关闭、读取和写入所用的函数与操作文件的函数完全一致。通信会话以调用CreateFile()开始。CreateFile()为读访问、写访问或读写访问“打开”串口。按照Windows的通常做法,CreateFile()返回一个句柄,随后在打开的端口的操作中使用CreateFile()函数非常原创 2017-04-13 13:41:12 · 4862 阅读 · 0 评论