文件名称: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
rs485/SComm.h
rs485
rs485/SComm.h
rs485
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.