Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - High-precision timer
Search - High-precision timer - List
DL : 0
操作串口直接进行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!
Date : 2026-01-14 Size : 10kb User :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.