登录
首页 » Com Port » 对要进行网络编程和串口编程的人员有很大帮助。

对要进行网络编程和串口编程的人员有很大帮助。

于 2022-04-30 发布 文件大小:350.62 kB
0 182
下载积分: 2 下载次数: 1

代码说明:

对要进行网络编程和串口编程的人员有很大帮助。-right to network programming and serial programming staff is very helpful.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • College system, the source code is described in detail, if there are questions,...
    学院系统,源代码详细描述,如有疑问,请与我联系。
    2022-03-18 20:40:38下载
    积分: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
  • s3c2410上的串口通信例子,可以给做串口通信的初学者一点启发。...
    s3c2410上的串口通信例子,可以给做串口通信的初学者一点启发。-Examples of serial communication which based on s3c2410.
    2022-02-01 06:51:41下载
    积分:1
  • 串口通信,实现接收和发送功能。完整串口通信程序Vc++源代码...
    串口通信,实现接收和发送功能。完整串口通信程序Vc++源代码-Serial communication, the realization of receive and transmit functions. Integrity of the serial communication program Vc++ Source code
    2022-09-12 08:55:04下载
    积分:1
  • 16550串口代码
    16550串口代码-serial code 16550
    2022-03-01 14:44:59下载
    积分:1
  • 串行口测试程序。例如:程序复位后先向串口发送"Hellow Word!",之后每从串口收到一个字符就把它从串口发送出去...
    串行口测试程序。例如:程序复位后先向串口发送"Hellow Word!",之后每从串口收到一个字符就把它从串口发送出去 -serial testing procedures. For example : After the first reduction procedures Serial send "Hellow Word!" , After each received from the serial port of a character out of it sent from the serial port
    2023-03-13 09:10:04下载
    积分:1
  • 本程序是win32api串口编程tty(虚拟终端)实例包括硬件控制的设置,因此可以用于对modem的编程...
    本程序是win32api串口编程tty(虚拟终端)实例包括硬件控制的设置,因此可以用于对modem的编程-win32api Serial Programming tty (virtual terminals) Examples include control of the hardware installed, the modem can be used for programming
    2022-07-08 08:28:20下载
    积分:1
  • 串口通信程序,通过汇编语言使用BIOS的。
    本串行通信程序利用汇编语言通过BIOS中断调用和DOS功能调用实现PC机双机串行通信。其中,上位机和下位机串行口均为辅串口COM2(口地址为2FXH),对外用9针连接器与令一台PC机连接;BIOS通过“INT 14H”4个中断服务子程序,分别完成串口初始化编程、发送一帧数据、接受一帧数据以及测试通信线状态。本程序分为PC机串口自动测试程序(目的是测试串口好坏)和PC机全双工双机通信程序两个部分。-the serial communications procedures through the use of assembly language BIOS interrupt calls and function calls DOS PC Dual Serial Communication. Among them, PC and the next crew will be supplemented by serial port Serial COM2 (I address 2FXH) external with 9-pin connectors and enable a PC connection; through the BIOS "INT 14H," four interrupt service routines, complete serial port initialization programming, Send a data receiving a data communications test and the state line. The procedures are divided into PC serial automatic test procedure (for the purpose of testing Serial good or bad) and full-duplex PC-machine communication program two parts.
    2022-09-02 07:35:03下载
    积分:1
  • 一个很不错的代码,是学习的好榜首,请大家认真学习!
    一个很不错的代码,是学习的好榜首,请大家认真学习!-a very good code is a good study the list, please seriously learning!
    2022-07-04 16:14:57下载
    积分:1
  • 用C51编写的基于51单片机串口点对点双向通信程序,特点是具有可靠的通信失败检测及信息重发功能。...
    用C51编写的基于51单片机串口点对点双向通信程序,特点是具有可靠的通信失败检测及信息重发功能。-with C51 prepared by the 51 microcontroller-based point-to-point two-way serial communication program, which is characterized with reliable communication failure detection and re-issued the information function.
    2022-08-23 10:24:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载