搜索资源列表
-
0下载:
一组排队函数,我以前开发的一个项目中用的。
上位机向下位机发送的命令用一个队列暂存起来,下位机从队列中逐一取出命令执行,直到命令执行完毕为止。
每一组命令均为3个字节,命令队列可容纳6组命令;
下位机向上位机发送的节点数据每组均为3个字节,命令队列可容纳6组数据;,Lined up a group function, I' ve developed a project using the. PC-bit machine down the order to send a tempora
-
-
0下载:
定时发送数据到上位机,采用中断形式,此程序可以作为sci硬件电路的测试程序。-From time to time to send data to a PC using the form of interruption, this process can serve as a sci hardware testing procedures.
-
-
0下载:
Every time a byte becomes available from the serial port, then "RxD_data_ready" is active for one clock period.
The PC sends us data through the serial port in 8-bits mode. Ideally, we would need to receive 9 bits from the PC, so that we can drive
-
-
1下载:
PC 通过串口工具在发送节点A 端输入想要发送的数据,点击发送,在接收节点B 端
PC 上的串口工具上,可以看到节点B 收到的内容。如要发送10 个字节内容为11 22 33 44 55 66 77 88 99 AA 的数据/时,在发送节点A 端的串口工具上输入 0A 11 22 33 44 55 66 77 88 99AA,其中0A 代表要发送数据的长度,以16 进制表示。在接收节点B 端的串口工具上就可以收到相应的数据。-PC through the serial port tool
-
-
0下载:
串口通信实验,从上位机(PC)上发送数据,单片机接收后用数码管显示,并送回给上位机所接收到的内容-Serial communication experiment, from the host computer (PC) to send data, after the MCU receives digital tube display, and returned to the host computer which receives the contents of the
-
-
0下载:
程序功能:接收来自PC机的字符,然后重新发送给PC机
通信格式:N.8.1, 9600
无校验,8个数据位,1个停止位,波特率9600
------------------------------------------------------
测试说明:打开SSCOM,正确设置通信格式,向学习板发送一个
字符或者是字符串(字符和字符串结尾必须添加结束
符 \ ),观察PC机是否正确收到回发的字符-Program features: Receive the char
-
-
0下载:
该源码为使用avr开发的应用激光技术实现的虚拟键盘,包括使用i2c总线从摄像头获得数据后经单片机处理后将数据发送至pc机,具有较高的实用价值。-Avr source code to use the laser technology developed by the virtual keyboard, including the use of i2c bus access to data from the camera will send the data processing by the MC
-
-
0下载:
以2400bps从计算机发送任一字节数据,当单片机收到该数据后,在此数据前加上一序号然后连同此数据一起发送至计算机,当序号超过255时归零。
-2400bps from the computer to send any byte of data, when the microcontroller receives the data in this data with a serial number before then sent along with the data to the com
-
-
0下载:
上位机与单片机通讯的源程序,通过调用MSComm控件,处理单片机从串口接收的数据,并编写窗体按钮事件来向单片机发送数据。-Communication between PC and microcontroller source code, by calling the MSComm control, processing data received from the serial port MCU, and the preparation of the form the button event
-
-
0下载:
this document shows how to send data from a microcontroller to pc using serial data communication
-
-
0下载:
1.由上位机发送1给单片机时,蜂鸣器以400ms频率发声,发2时以200ms频率发声,发3时以100ms频率发声,发4时关闲蜂鸣器。
1.以2400bps从计算机发送任一字节数据,当单片机收到该数据后,在此数据前加上一序号然后连同此数据一起发送至计算机,当序号超过255时归零。
2.以16进制发送一个0-65536之间的任一数,当单片机收到后在数码管上动态显示出来,波特率自定。
3. 用AD以1HZ的频率采集模拟信号,然后转换成数字量,再将其以1200bps发送到计算机,在计算机上显
-
-
0下载:
用pic16F877A完成了和PC机通讯,单片机可以完成发送数据给PC机,并且可以接收来自PC机的数据。通过proteus仿真。-Using pic16F877A completed and PC communication, single chip can complete to send data to the PC, and can receive data from the PC. Through the proteus simulation.
-
-
0下载:
采用c8050F020内部ADC_0对 内温度传感器进行采集,将采集的数据经过ADC_0转换,
运算,将运算结果由串口发送到PC机-Internal ADC_0 using c8050F020 internal temperature sensor for acquisition, the data collected through the ADC_0 conversion,Operation, the operation result from the serial port to se
-
-
0下载:
使用PIC18F4550单片机,读取气压传感器BMP450的值,换算成高度后,通过USART发送。-The MCU PIC18F4550 send data from BMP450 sensors through USART to PC
-
-
0下载:
现代单片机的uart代码,能够发数据给串口上位机,也能从串口上位机接受数据,能收字符,也能收字符串!-Modern microcontroller uart code that can send data to a PC serial port also accepts data from a PC serial port can receive character string can be closed!
-
-
0下载:
PC上运行串口大师等串口调试软件,通过USB接口向开发板发送数据, 开发板收到数据帧后,将其由红外端口发送;如开发板接收到红外信号,当红外端口接收到完整数据帧后,开发板将数据由USB口送至PC。本程序未采用NEC或Philips的红外协议,旨在展示一种像使用串口一样 使用红外接口的方式,实验表明,这一方法十分有效,在1200bps、3米 距离的条件下仍有非常好的收发效果。(PC run serial master serial debugging software to se
-