▍1. rs232_C++
利用C++语言进行编程,以验证微型计算机原理课程、微机接口技术课程中关于串口通信。(The use of C++ Language programming, to verify the principle of micro-computer courses, computer interface technology courses on serial communication.)
利用C++语言进行编程,以验证微型计算机原理课程、微机接口技术课程中关于串口通信。(The use of C++ Language programming, to verify the principle of micro-computer courses, computer interface technology courses on serial communication.)
该源代码主要是实现串口通信,并将所传输的内容实现保存。(The source code is mainly realize serial communication, and the transmission of content preservation.)
调试串口的程序,本程序运行于PC机,是开发串口电路的好帮手。(Debug serial procedures, the program runs on PC, is to develop a good helper serial circuit.)
实现串口通信功能。由中断程序调用,实现串口单字节读写的功能。(Realize the serial communication function. By the interruption of the procedure call, the realization of single-byte read and write serial port function.)
串口通讯类及其例子程序,很有用的串口调试范列(Serial Communication category and examples of procedures, useful for debugging serial Fan out)
十分详尽的串口调试程序,未经测试,不过已通过仿真(Very detailed serial debugger, without testing, but had passed through Simulation)
实现串行通讯的相关API函数 API函数不仅提供了打开和读写通讯端口的操作方法,还提供了名目繁多的函数以支持对串行通讯的各种操作。 函数名 作用 CreateFile 打开串口 GetCommState 检测串口设置 SetCommState 设置串口 BuilderCommDCB 用字符串中的值来填充设备控制块 GetCommTimeouts 检测通信超时设置 SetCommTimeouts 设置通信超时参数 SetCommMask 设定被监控事件 WaitCommEvent 等待被监控事件发生 WaitForMultipleObjects 等待多个被监测对象的结果 WriteFile 发送数据 ReadFile 接收数据 GetOverlappedResult 返回最后重叠(异步)操作结果 PurgeComm 清空串口缓冲区,退出所有相关操作 ClearCommError 更新串口状态结构体,并清除所有串口硬件错误 CloseHandle 关闭串行口()
记录串口收到的数据并存到文件,主要用于不容易发现的程序BUG调试(record serial data received by the coexistence of the document, mainly for not easy to find the debugging process BUG)
合众达提供的两个驱动,可以添加自己的算法。一个是串口的,一个是实时系统的。(America to the two drivers, they can add their own algorithms. 1 serial port, a real-time system.)
VC实现和S7-200PLC的串口通信程序,很有价值哦(VC and S7-200PLC Serial Communication Program and of great value oh)
串口通信高级编程,为Visual C++.NET网络与通信高级编程范例第八章配套源代码 (serial communication programming, for Visual C.NET network and communications senior programming paradigm Chapter VIII supporting source code)
用Turbo C编写的一个串口操作小程序,能发送,接收信息;程序功能简单,过段时间再把经过修改后的版本传上来(using Turbo C serial prepared by a small operational procedures, send, receive information; Functional procedures simple, then over time, after revision line with the traditional version.)
44B0 ARM7处理器的串口通信程序,包括初始化和硬件驱动。(44B0 ARM7 processor serial communication procedures, including drivers and hardware initialization.)
串口发送modbus协议CRC校验低字节(若为查表所得数据为高字节,其实为CRC的低字节)(serial modbus connection agreement low byte CRC (if available for look-up table for the high-byte data, In fact, for low-byte CRC))
TMS320C64XX 串口的PCI源代码(TMS320C64XX Serial PCI source code)
自己用api写的串口通信动态库,可以同时打开多个串行口,自带设置函数(own use api write serial communication DLL, it will also open up a number of serial port, bringing their function set)
COM8虚拟串口COM0,实现GPS通信(COM8 Virtual Serial COM0, GPS communication)
此程序为常用通讯子程序,已调试通过 可以直接应用(this procedure commonly used for communications subroutine, debugging through direct application)
VC++串口通讯程序 大家可以看看,错误之处欢迎指出,这时本人花不少时间搞出来的啊(VC serial communication process we can see, the mistake welcome, Then I spend a lot of time in the ah)
封装较完整的串口类库,适合硬件开发人员使用,欢迎下载!(Packaging more complete serial library suitable for the development of the use of hardware, download welcome!)