文件名称:rs485
介绍说明--下载内容均来自于网络,请自行研究使用
操作串口直接进行RS485多机通信的类。单片机下485多机通信很容易,用UART的Bit9即可,Windows下就麻烦得多,Windows下串口Bit9用作奇偶校验,要切换Bit9就要动态改通信格式,而且切换时间要跟得上单片机的us级时间。这个自己写的Class用独立线程、Windows高精度定时器机制,高速切换Bit9,示波器测量,时间在10us左右,已用于门禁系统多年,长时间运行可靠!
-Direct RS485 serial port operation multi-machine communication class. Under the more than 485 single chip computer communication is easy, you can use the UART of Bit9, Windows is much lower in trouble, Windows for the next serial Bit9 Parity, Bit9 will dynamically change to switch the communication format, and the switching time to keep up with SCM us-class time. Class of this with their own separate thread to write, Windows high precision timer mechanism, high-speed switching Bit9, oscilloscope measurements, the time is about 10us, access control systems have been used for many years, long-running and reliable!
-Direct RS485 serial port operation multi-machine communication class. Under the more than 485 single chip computer communication is easy, you can use the UART of Bit9, Windows is much lower in trouble, Windows for the next serial Bit9 Parity, Bit9 will dynamically change to switch the communication format, and the switching time to keep up with SCM us-class time. Class of this with their own separate thread to write, Windows high precision timer mechanism, high-speed switching Bit9, oscilloscope measurements, the time is about 10us, access control systems have been used for many years, long-running and reliable!
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rs485\SComm.cpp
.....\SComm.h
rs485
.....\SComm.h
rs485