-
实验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
-
prjconverter
把vc++7工程转换为vc++6的小工具。用法:prjconverter c: mpetterxmletterxml.sln(VC++7 to VC++6 project converter)
- 2010-09-18 07:09:06下载
- 积分:1
-
mt4-video
mt4 MQL语法说明书,适合写EA,MT4A外汇所用的EA或指标(MT4 MQL LANGUAGE)
- 2020-07-23 21:38:44下载
- 积分:1
-
大漠中文插件3.1233
大漠中文插件3.1233.ec
模块名称:大漠插件中文版3.1233
作者:明祥惑惑狼
版本:1.0
游戏辅助模块!
@备注:
大漠插件3.1233版 大漠最后一个免费版本。直接注册调用即可!无需在单独下载大漠DLL文件。(Module name: the Chinese version of the desert plug-in 3.1233
Author: Ming Xiang puzzled wolves
Version: 1
Game assistant module!
@ @ note:
Desert 3.1233 version of the last free version of desert. Direct registration call can be! There is no need to download the desert DLL file separately.)
- 2018-05-13 13:58:03下载
- 积分:1
-
经典的贪食蛇游戏。不过此版本采用新的游戏策略双人对战,可以自编AI...
经典的贪食蛇游戏。不过此版本采用新的游戏策略双人对战,可以自编AI-Games贪食蛇classic. But this version of the introduction of a new strategy to double the war game, you can self-AI
- 2022-10-04 13:15:03下载
- 积分:1
-
prioritf-calpulator-calculator
一个漂亮的带优先级的简单计算器 A nice simple calculator with priority(A beautiful take priority of simple calculator A nice simple calculator with priority)
- 2017-04-06 15:06:19下载
- 积分:1
-
Z-stack OSAL API
TI Z-stack ZDO(zigbee device object)对象管理层提供的API描述文档,详细介绍了Z-stack下如何调用这些API函数来完成zigbee协议栈的开发/定制。
- 2023-03-13 13:10:04下载
- 积分:1
-
SRC_SOMP_matlab-master
说明: 稀疏表示分类器应用于高光谱图像分类的MATLAB代码实现(MATLAB Code Implementation of Sparse Representation Classifier for Hyperspectral Image Classification)
- 2019-09-25 20:09:52下载
- 积分:1
-
FDC2214
说明: STM32开发关于FDC2214驱动文件。(STM32 develops fdc2214 driver file.)
- 2019-10-30 10:36:00下载
- 积分:1
-
类似“雷电”的小游戏。可以自己设置控制键,也可以使用默认键。...
类似“雷电”的小游戏。可以自己设置控制键,也可以使用默认键。-like "lightning" small game. It set up its own control keys, you can also use the default key.
- 2023-01-21 15:40:04下载
- 积分:1