-
实验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
-
AIXPAU13
ibm AIX 资料,很详细,个人觉得很有用。(ibm AIX Data, very detailed, personal feel useful.)
- 2011-07-03 17:25:14下载
- 积分:1
-
棒与棒三维模型
ansys棒棒电极(三维)模型模型,计算棒棒模型之间的电场(Ansys rod electrode (3 d) model)
- 2020-06-23 05:20:01下载
- 积分:1
-
ostu_test
说明: 使用IDL编程实现遥感图像的OSTU阈值分割(OSTU Threshold Segmentation of Remote Sensing Images Using IDL Programming)
- 2020-06-19 11:40:02下载
- 积分:1
-
JASK5124L0124-serie
24系列模块 应用程序 内附电路图 吐血贡献(24-series modules containing circuit hematemesis contribution applications)
- 2011-06-04 18:03:50下载
- 积分:1
-
PV_Battery_Vf_Model
光伏发电储能系统平抑光波动,储能设备为蓄电池(Energy storage system suppress PV fluctuation)
- 2021-05-08 10:28:35下载
- 积分:1
-
在国外网站上找到的一个关于TSP问题的benchmark库,自己将文件的格式转化为了WORD,供大家学习研究使用!...
在国外网站上找到的一个关于TSP问题的benchmark库,自己将文件的格式转化为了WORD,供大家学习研究使用!-Abroad to find a site on the TSP problem benchmark database, the file format of their own transformation in order to WORD, for all to study the use of!
- 2022-03-04 11:54:20下载
- 积分:1
-
U8门户开发
说明: 使用C#二次开发的程序很好地和U8产品集成在一起,通过vs.net建立一个项目类型为类库的项目(U8 Portal use C#,UFIDA.U8.Portal.NetProductSample)
- 2020-06-16 23:00:02下载
- 积分:1
-
NP驱动源码
说明: 可以读写任何程序!可BE,可TP!驱动源代码开源!(Can read and write any program! Be, TP! Drive source code open source!)
- 2020-02-07 22:04:22下载
- 积分:1
-
an intermediary management system, it contains the original source and backgroun...
一个中介管理系统,里面含有原代码和后台数据,我们在做任何中介系统时都可以采纳这个系统的内容,可以运行。-an intermediary management system, it contains the original source and background information, we do any intermediary system can be adopted this system, and can run.
- 2022-06-18 15:12:36下载
- 积分:1