两个80c51单片机通信;单片机一控制两位按键从而控制单片机二的两位数码管加一和减一

上传者: 41731405 | 上传时间: 2021-05-24 20:14:34 | 文件大小: 131KB | 文件类型: RAR
实验要求与内容: 如下图所示,该电路实现两个单片机的串行通信,波特率9600bps,外部晶振11.0592MHz,单片机1#根据按键S1和S2的状态向单片机2#发送命令。单片机2驱动两位数码管显示,数码管初始值为50.其中个位数码管连接在2#单片机P1口,十位数码管连接在2#单片机P2口;按键K0连接在单片机1# P3.2引脚,按键K1连接在单片机1# P3.3引脚。 当S1按下时,单片机1#向单片机2#发送指令,单片机2#接收到指令后控制数码管值+1;当S2按下时,单片机1#向单片机2#发送指令,单片机2#接收到指令后控制数码管-1。

文件下载

资源详情

[{"title":"( 33 个子文件 131KB ) 两个80c51单片机通信;单片机一控制两位按键从而控制单片机二的两位数码管加一和减一","children":[{"title":"实验指导书","children":[{"title":"mcu1.uvgui.Administrator <span style='color:#111;'> 69.41KB </span>","children":null,"spread":false},{"title":"Objects","children":[{"title":"t5-2.obj <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"test5 <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"another <span style='color:#111;'> 3.87KB </span>","children":null,"spread":false},{"title":"test5.lnp <span style='color:#111;'> 122B </span>","children":null,"spread":false},{"title":"test5.hex <span style='color:#111;'> 657B </span>","children":null,"spread":false},{"title":"another.hex <span style='color:#111;'> 847B </span>","children":null,"spread":false},{"title":"another.lnp <span style='color:#111;'> 126B </span>","children":null,"spread":false},{"title":"STARTUP.obj <span style='color:#111;'> 828B </span>","children":null,"spread":false},{"title":"t5-1.obj <span style='color:#111;'> 2.58KB </span>","children":null,"spread":false},{"title":"test5.build_log.htm <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"another.build_log.htm <span style='color:#111;'> 1024B </span>","children":null,"spread":false}],"spread":false},{"title":"test5.uvgui.Student <span style='color:#111;'> 135.08KB </span>","children":null,"spread":false},{"title":"MCU1.c <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"~WRL0001.tmp <span style='color:#111;'> 116.50KB </span>","children":null,"spread":false},{"title":"STARTUP.A51 <span style='color:#111;'> 6.23KB </span>","children":null,"spread":false},{"title":"t5-1.C <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"another.uvgui.Student <span style='color:#111;'> 135.78KB </span>","children":null,"spread":false},{"title":"t5-2.C <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"mcu2.uvproj <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false},{"title":"mcu1.uvproj <span style='color:#111;'> 13.75KB </span>","children":null,"spread":false},{"title":"mcu1.uvopt <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"mcu2.uvopt <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false},{"title":"mcu2.uvgui.Administrator <span style='color:#111;'> 69.41KB </span>","children":null,"spread":false},{"title":"mcu1.uvgui.Student <span style='color:#111;'> 69.25KB </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"STARTUP.lst <span style='color:#111;'> 13.81KB </span>","children":null,"spread":false},{"title":"t5-1.lst <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"t5-2.lst <span style='color:#111;'> 3.17KB </span>","children":null,"spread":false},{"title":"another.m51 <span style='color:#111;'> 6.36KB </span>","children":null,"spread":false},{"title":"test5.m51 <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"another.uvopt <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":"test5.uvopt <span style='color:#111;'> 5.46KB </span>","children":null,"spread":false},{"title":"MCU2.c <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明