-
guzhangjianche
说明: 一个24V输出故障检测子函数;用于电源检测系统;(A 24V output fault detection son functions Used for power test system
)
- 2011-03-27 16:39:38下载
- 积分:1
-
实验3
1、单向通信
向甲方连续不断地发送变量a的值,未按键,a=0x0f,按键后根据按键确定a值;并将a的值取反从P0口输出,控制D0、D1、D2、D3相应点亮。乙方接收到数据并偶校验正确后,将接收数据取反从P0口输出,控制D0、D1、D2、D3相应点亮。
2、双向通信
甲方连续不断地发送变量a的值,未按键,a=0x0f,按键后根据按键确定a值;乙方未按键不发送,按键后将乙方按键得到的a*16发送;甲乙双方都将发送数据与接收数据相或后再取反,从P0口输出控制D0—D7相应点亮。
3、间隔发送
未按键,甲方不发送数据,按键后甲方每隔50ms连续发送4个字节:0xff、a、a、a。
乙方只在收到甲方数据0xff后的3个数据并验证相同时,才将接收数据*16发送。
甲乙双方都将发送数据与接收数据相或后,从P0口输出控制D0—D7相应点亮。(1. One-way communication
The value of variable a is continuously sent to Party A without key, a = 0x0f. After the key is pressed, the value of a is determined according to the key; and the value of a is output from P0 port to control the corresponding lighting of D0, D1, D2 and D3. After receiving the data and checking it correctly, Party B will output the received data from P0 port and control D0, D1, D2 and D3 to light up accordingly.
2. Two-way communication
Party A continuously sends the value of variable a without key, a = 0x0f, and determines a value according to the key after the key; Party B does not send the key without key, and sends the a*16 obtained by the key after the key is pressed; Both parties will send the data to or from the receiving data, and then retrieve the data and control D0-D7 from the P0 port to light up accordingly.
3. Interval Sending
Without keys, Party A does not send data. After keys, Party A sends 4 bytes continuously every 50 ms: 0xff, a, a.)
- 2020-11-16 09:29:42下载
- 积分:1
-
DynamicDataDisplay-example-master
说明: 一款强大的图表框架,支持大数据图形显示(通过图片方式)(DynamicDataDisplay-example-master)
- 2020-06-17 10:00:02下载
- 积分:1
-
用matlab编写的雷达系统信号仿真程序,包含雷达个部分的仿真程序...
用matlab编写的雷达系统信号仿真程序,包含雷达个部分的仿真程序
- 2023-07-29 03:05:03下载
- 积分:1
-
PLC编程
某城市中排水泵站中的PLC控制程序,此程序的目的是控制水站中水泵根据水位的高低运行。(A PLC control program in a drainage pump station in a city. The purpose of this procedure is to control the operation of pumps in water stations according to the water level.)
- 2018-06-14 20:44:26下载
- 积分:1
-
实现一个字符串类的若干函数的操作
实现一个字符串类的若干函数的操作-achieve a certain kind of string function operation
- 2022-03-02 06:06:51下载
- 积分:1
-
Download-Here
Is the demo version of Money Pile EA
- 2018-11-16 14:03:42下载
- 积分:1
-
gps
自适应调零天线GPS抗干扰技术研究简析,介绍了智能天线的gps应用(Adaptive nulling antenna Analysis of GPS anti-jamming technology research, introduced the application of smart antenna gps)
- 2009-04-27 23:13:00下载
- 积分:1
-
实现用三元组表示的稀疏数组的输入、转置、相加、输出。可以直接输入三元组,转置和相加基于三元组进行,输出的结果也为三元组。...
实现用三元组表示的稀疏数组的输入、转置、相加、输出。可以直接输入三元组,转置和相加基于三元组进行,输出的结果也为三元组。-achieved using ternary group said the sparse array of input, transfer home, combining the output. 3 can directly import group, and add to home-based Group 3, the output of the group for three yuan.
- 2023-03-02 04:35:03下载
- 积分:1
-
failed to translate
这个程序时多线程的 DOS 程序
-failed to translate
- 2023-04-06 11:50:03下载
- 积分:1