-
从串口读取数据,有两种方法, 1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。 2、接收到一个EV_RXCHAR后,等一定数据...
从串口读取数据,有两种方法, 1、每接收一个EV_RXCHAR,就用ReadFile读一次,这样我觉得太恐怖了。 2、接收到一个EV_RXCHAR后,等一定数据量的CPU周期(GetTickCount),再一次性读取缓冲区里的数据。这样做,一般情况下不会有问题,但是,如果数据很多,过了“一定数据量的CPU周期”,还没收完数据怎么办?就会少读数据了。 我用三个线程序来完成串口数据的-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
- 2022-08-09 09:18:25下载
- 积分:1
-
使用xmodem进行串口通讯的程序
使用xmodem进行串口通讯的程序- Uses xmodem to carry on the string mouth communication the
procedure
- 2022-08-17 14:15:23下载
- 积分:1
-
a brief serial debugging procedures, unlike previous debugging procedures, it ca...
一个简短的串口调试程序,不同于前面的调试程序,它能在你的串口被程序占用之后也能监测到其中的数据,可以选择16进制显示或asc11码显示,达到真正的监测-a brief serial debugging procedures, unlike previous debugging procedures, it can be your serial procedures can be occupied after the monitoring of the data, we can choose to show or band 16 asc11 yards, with real monitoring.
- 2022-02-25 13:43:20下载
- 积分:1
-
51 microcontroller serial debugging procedures, thank you all use, the title tra...
51单片机串口调试程序,谢谢大家使用,本人刚出道,希望大家多多包涵-51 microcontroller serial debugging procedures, thank you all use, the title track, I hope you will forgive me
- 2022-04-10 20:49:53下载
- 积分:1
-
我曾经在工程中使用的部分源代码,有详细的说明
我曾经在工程中使用的部分源代码,有详细的说明-project, I had the use of the source code, a detailed explanation
- 2022-10-06 15:20:03下载
- 积分:1
-
kermit 文件接收协议的c语言实现,用于RS232。
kermit 文件接收协议的c语言实现,用于RS232。-kermit file to receive the agreement realize c language for the RS232.
- 2022-01-24 14:28:23下载
- 积分:1
-
DOS环境下TC2/3源代码
DOS环境下TC2/3源代码-TC 2/3 source codes under DOS
- 2022-03-04 18:02:27下载
- 积分:1
-
自己编写的关于火车列尾风压控制的程序,涉及串口,数据库等相关内容...
自己编写的关于火车列尾风压控制的程序,涉及串口,数据库等相关内容-I have written out on the train tail wind pressure control procedures, involving serial, database and other related content
- 2022-01-26 03:03:44下载
- 积分:1
-
汽车行驶记录仪360小时的全程速度时间曲线图的组件。
汽车行驶记录仪360小时的全程速度时间曲线图的组件。-Vehicle Recorder 360 hours of full velocity-time curve of components.
- 2023-04-27 01:45:03下载
- 积分:1
-
串口通信程序,可以直接执行使用,带有界面容易操作
串口通信程序,可以直接执行使用,带有界面容易操作-serial communication procedures, the implementation can be directly used, with the interface is easy to operate
- 2022-04-24 16:02:23下载
- 积分:1