【文件属性】:
文件名称:SerialCom:串行通讯
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-25 16:12:19
C++
#SerialCom
在Windows上进行串行通信的程序,语言为C++。可能有错误。
## 开发环境 Visual Studio 2013
## 如何使用请把SerialCom.h和SerialCom.cpp放在合适的地方。
## 文件 不过,它是合适的。
Robot::SerialCom ( const char *_portName, const char *_boundRate)
#### Contents 初始化 SerialCom 对象。
####争论
_portName ... 要使用的端口的名称(例如“COM3”)
_boundRate ... 绑定率(例如 9600)
void Robot::SerialCom::send ( char *transString)
#### Contents 将字符串发送到 SerialCom 构造函数中设置的 COM
【文件预览】:
SerialCom-master
----.gitignore(3KB)
----SerialCom.h(990B)
----README.md(3KB)
----SerialCom.cpp(4KB)