搜索资源列表
USBjiekou
- 在通讯中,为了保证行运安全可靠,标准的串行口必须具有许多握手信号和 状态信息。这是因为通兜母鞲黾扑慊鶦PU速度不一样(这会导致“错帧”)以 及发送机发送数据速度比接收机接收速度快(这会导致“过冲”)。为解决这个 问题,我们采用一个简单的握手信号,即发送机每次仅发送半个字节(低4位) 的数据,而另外半个字节(高4位)则用来传送信息。我们可以对信息位(高4位) 进行如下简单的编码: 0H:发送的是新的半个字节数据 1H:重新发送上次传送错误的数据 2H:文件名结
串口缓冲区编程
- 波特率可变;中断方式接收、发送;收发独立8字节缓冲区;可选择是否在满缓冲区后丢弃数据-variable baud rate; Disruption to receive, send; TX independent 8-bit byte buffer; the choice of whether the buffer zone after the age of discarded data
vcCharTerminalSend
- 利用串口进行通讯,发送字符,这是发送字节部分,供大家参考-use serial communication, this character, which is part of this byte, for your reference
mobileled
- 通讯屏控制卡串口发送 最大控制宽度达2048列,1个位表示屏上1个点,则宽度使用256个8位的字节;最大控制高度为512行。 与显示屏对应的显示数据存储在数据缓冲区的左上角。若是双色屏,则先按照显示屏的实际高度先存储红色数据,然后紧接着存储绿色数据。例如,若显示屏的高度为128行,则PictureBuf[0]-PictureBuf[127]存储128行红色数据,PictureBuf[128]-PictureBuf[255]存储绿色数据
chuankoujieshou
- 串行端口的本质功能是作为CPU和串行设备间的编码转换器。当数据从 CPU经过串行端口发送出去时,字节数据转换为串行的位。在接收数据时,串行的位被转换为字节数据
i2c总线程序
- 本程序是i2c总线读写一个字节的程序。在写过程序中,不一定非要检测i2c的应答位,可以直接延时过去就行,但是在读过程中必须给应答信号,读完发停止位,一定确认所发的信号都发上了。否则在连续地址读的过程中可能不会出错,但是在随机度过程中就会出错,我的程序就是在给停止信号时没有给上,24cxx一直在输出数据,结果读出错。找着问题后我的程序只加入了一条命令便完全正常。-i2c bus read and write a byte procedures. The written procedure, no
串口
- #include<reg51.h> //包含单片机寄存器的头文件 unsigned char code zifuchuan[ ]="ni hao! wo shi cai hai peng huan ying xue dan pian ji "; //流水灯控制码,该数组被定义为全局变量 /***************************************************** 函数功能:向PC发送一个字节数据 *******
iic AT24C08的单字节读,单字节写,页读和页写
- 我实验的是 AT24C08的单字节读,单字节写,页读和页写,在高于3.3V系统中他的通信速率最高400KHZ的,我实验里用的是100KHZ的速率-My experiment is AT24C08 single-byte read, single-byte write, page read and write page, above the 3.3V system, the highest rate of his communications 400KHZ, I experiment with t
Example1.rar
- MSComm控件编程,利用MSComm控件接收和发送数据,能设置串口参数,显示已经发送的字节数和接收的字节数。,MSComm control programming, the use of MSComm control to receive and send data to set the serial port parameters, shows the number of bytes sent and received bytes.
com1send.rar
- 在Ardence RTX环境下,使用串口定时收发数据,波特率为112500,传输一个字节本身略小于100微秒,定时周期100微秒,即在示波器中可观察到连续不断地传输字节,Ardence RTX in the circumstances, from time to time to send and receive data using the serial port, baud rate to 112,500, transmission of a byte in itself a little l
C51_CRC16
- 程序功能:接收10个字节的数据,显示CRC16的值,并回传数据及CRC16的值-C51 CRC16 校验
myWindowsSerialportTools
- 1:支持串口数据16进制格式收发。 2:支持9以上的串口通信。 3:支持自动收发保存数据。 4:自由控制数据显示。 5:实时显示收发数据字节大小以及串口状态。 6:智能清空缓冲数据。 7:采用polling模式,以便移植到linux。 8:全中文对话框。 9:数据收发精准,增加延时处理。 10:支持短信猫调试,智能识别回车符。 11:界面清爽,布局人性化。 -1: Support for sending and receiving serial dat
1234342543
- VB倒置字符串并每两个字符(一个字节)间加空格显示-VB inverted string and the space between two characters (one byte) shows
qian_ru_shi_zhen_tong_bu
- 嵌入式系统中串口通信帧的同步方法,介绍多机串口通信的各种同步方法,有效过滤干扰字节确保通信稳定,个人觉得还不错,值得一看-Embedded System serial communication frame synchronization method to introduce a variety of multi-machine synchronous serial communication methods and an effective filtering interference by
uart_interrupt
- 在非系统的环境下,实现了串口0的中断多字节收发,希望对大家有所帮助-In the non-system environment, the realization of the serial port 0 interrupt multibyte transceiver, I hope all of you to help
uart_rx_tx
- luminary 615试验程序 串口通信 能任意字节接受都和发送数据-testing procedures luminary 615 serial communication can be both arbitrary bytes to accept and send data
4
- 首先要设定通信协议,一般以帧格式 1、起始字节 2、数据长度 3~n、数据区 其次,vb发了一串数据 当单片机每收到一个数据时: 第一步:判断是不是起始字节,如果是到第二步,否则继续第一步 第二步:收到数据长度 第三步:根据数据长度循环收数据,直到结束。
4temperaturedisplay
- 串口实现4路温度显示,按软件设定时间每秒发送8字节数据-Serial achieve 4-way temperature display, according to the software set the time to send 8 bytes of data per second
crc_VB
- 本代码为在VB6.0环境下所写的CRC_16字节型算法,可用于上位机与下位机串口通信使用。-This code in VB6.0 environment CRC_16 written byte-type algorithm, can be used for PC and next-bit machine using serial communication.
71477212NiosII_uart
- 串口sopc uart实现串口功能,包含帧的开始字节,命令字节-Serial sopc uart serial implementation features, including frame start byte, command byte