-
VC的COM口驱动程序,使用了ACTIVEX控件
VC的COM口驱动程序,使用了ACTIVEX控件-VC COM port drivers, the use of Activex Control
- 2022-07-02 09:38:33下载
- 积分:1
-
compilation and mixed C Programming microcontroller simulation I2C procedures, h...
汇编和C混合编程的单片机模拟I2C程序,已验证可行-compilation and mixed C Programming microcontroller simulation I2C procedures, has been verified
- 2022-01-28 09:31:03下载
- 积分:1
-
从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的...
从串口读取数据,有两种方法,1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的接收,其实就是第一种方法的变种: 一个侦听EV_RXCHAR,一个对EV_RXCHAR进行分析,其实就是超时判断。如果接收到一个消息后,一段时间没收到下一个EV_RXCHAR,就认为是一个数据包的结束。这个线程就会通知数据接收线程,进行数据接收。一般同一包数据,两个字符之间的时间间隔,应该很小了吧,而两个数据包之间的间隔,应该不会太小吧!(这个地方我不清楚,猜的:( :) )最后一个线程,是接收数据的。-read data from the serial port, there are two methods, one, each receiving a EV_RXCHAR, on the ReadFile read, I think this vote. 2, received a EV_RXCHAR after a certain volume of data, such as CPU cycles (GetTickCount), and the one-time reader, the data buffer. To do so, under normal circumstances there is no problem, but if many of the data, and after a "certain amount of data the CPU cycles," also confiscated End Data how do? Few will read the data. I used three lines to complete serial data reception, the first method is a variant : an interception EV_RXCHAR, one pair of EV_RXCHAR analys
- 2023-03-23 09:55:03下载
- 积分:1
-
三菱PLC与PC通讯程序,只是简单做了试验,结果较好。
三菱PLC与PC通讯程序,只是简单做了试验,结果较好。-Mitsubishi PLC and PC communication program, but simply to do a test with satisfactory results.
- 2022-01-25 21:52:44下载
- 积分:1
-
ARM9芯片AT91RM9200的串口测试程序,可以成功的与PC机的串口通信...
ARM9芯片AT91RM9200的串口测试程序,可以成功的与PC机的串口通信-AT91RM9200 chip ARM9 serial test procedure can be successful with the PC-Serial Communication
- 2022-03-05 11:33:39下载
- 积分:1
-
uart实验源码!希望你可以给你们带来帮助!谢谢可以跟大家分享!...
uart实验源码!希望你可以给你们带来帮助!谢谢可以跟大家分享!-UART experimental source! I hope you can help to you! Thank you can share with you!
- 2022-03-22 02:30:59下载
- 积分:1
-
串口操作源程序,可以对串口读写操作,当然也可以自发自收,是一个联系串口通信的好例子...
串口操作源程序,可以对串口读写操作,当然也可以自发自收,是一个联系串口通信的好例子-source can write to serial port, of course, can also spontaneously collected, the serial link is a good example of communication
- 2023-03-18 07:55:03下载
- 积分:1
-
visual c6.0实现的窜口通讯,窜口输入输出接受程序简单测试,可以运用到工程中
visual c6.0实现的窜口通讯,窜口输入输出接受程序简单测试,可以运用到工程中-visual c6.0 I realize the channeling communications, input and output channeling I accept the simple test procedure can be applied to engineering
- 2022-10-23 23:20:04下载
- 积分:1
-
一个串口通信的源码,以2进制形式实现传输,可以传输图像等各种文件。...
一个串口通信的源码,以2进制形式实现传输,可以传输图像等各种文件。-a serial communication source to the form of two-band transmission, transfer images and other documents.
- 2023-01-19 23:20:04下载
- 积分:1
-
提供I2C总线初始化、工作时的启始位、结束位、提供I2C总线的时钟信号,并返回在时钟电平为高期间 SDA信号线上状态。本函数可用于数据发送,也可用于数据接收...
提供I2C总线初始化、工作时的启始位、结束位、提供I2C总线的时钟信号,并返回在时钟电平为高期间 SDA信号线上状态。本函数可用于数据发送,也可用于数据接收-provide I2C bus initialization, the Start-end, provide the I2C bus clock signal, the clock and return to the high-level signal line during the SDA state. This function can be used to transmit data, can also be used for data reception
- 2022-03-19 00:33:10下载
- 积分:1