-
实验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
-
22893590GMSK
说明: 实现gmsk调制以及解调的仿真,含有误差图和星座图。(The simulation of GMSK modulation and demodulation includes error diagram and constellation diagram.)
- 2019-06-14 14:16:25下载
- 积分:1
-
《机器学习经典算法实践》配套源代码
说明: 好学好用的机器学习经典算法实践供下载学习分享.(Good use of machine learning classic algorithm practice for download learning to share)
- 2020-08-22 21:14:59下载
- 积分:1
-
微信小程序全国省市县城市选择控件附用法
一个用于微信小程序的全国省市县城市选择控件,使用腾讯地图API实现 ,若使用需申请key或者更换其他相应API,功能尚未完善,仅实现了省市县城市选择功能。不过测试发现还有些问题,需要修正才能用,基础源码先分享给大家吧,有空了帮大家修正。
- 2023-04-13 12:55:03下载
- 积分:1
-
ATS2805B Datasheet_V1.0
ats 2805 bluetooth datasheet
- 2020-06-19 22:40:01下载
- 积分:1
-
complex_reverberation
说明: 可实现海洋混响信号统计模型的建立,发射信号为LFM或单频信号,参数可调,得到的模型很好的符合混响的统计特性(It can establish the statistical model of marine reverberation signal. The transmitted signal is LFM or single frequency signal, and the parameters can be adjusted. The model is in good agreement with the statistical characteristics of reverberation.)
- 2020-06-16 22:00:01下载
- 积分:1
-
加性高斯白噪声信道下,OFDM系统仿真程序,调制方式为16QAM
加性高斯白噪声信道下,OFDM系统仿真程序,调制方式为16QAM-additive white Gaussian noise channels, OFDM system simulation program, the modulation method for 16QAM
- 2022-04-11 16:41:21下载
- 积分:1
-
matlab实现三维重建
说明: matlab上的三维重建教程,适合新手学习(Three dimensional reconstruction course on MATLAB, suitable for novice learning)
- 2020-04-21 10:28:29下载
- 积分:1
-
betaflight-configurator-master
betaflight 最新的配置pc界面,用chrome扩展程序的方式实现了跨系统的UI界面。其配置参数较多,各种曲线显示实时性较好(Betaflight the latest configuration of the PC interface, using chrome extensions procedures to achieve a cross system UI interface. Its configuration parameter is more, each kind of curve shows real-time performance is better)
- 2017-07-27 17:59:21下载
- 积分:1
-
atanua081116_pe
说明: software simulation for windows
- 2019-05-07 04:34:58下载
- 积分:1