基于51单片机的简易计数器

上传者: 58404700 | 上传时间: 2023-12-18 16:53:40 | 文件大小: 707KB | 文件类型: ZIP
基于单片机的简易计数器 (该系统具有可进行数值的加、减、和复位的操作, 加、减和复位分别由一个独立按键操作,该系统的计数范围为00-99) 源代码、仿真图、原件清单、参考文献等相关资料可在文末的链接中下载 该系统实现的功能: 两位共阳极数码管显示数值,三个独立按键实现数值的加、减、和复位、每按下一次加减按键数值相应加减1 该系统组成由: 单片机最小系统、两位共阳极数码管、按键模块(加减按键、复位按键)组成 具体组成如下图:单片机最小系统(电容、晶振、电阻、按键、数码管、排阻) #include unsigned int count = 0; // 计数器 unsigned int limit = 10000; // 计数器上限 void timer0_isr() interrupt 1 // 定时器0中断服务程序 { TH0 = 0x4C; // 重新赋值初值 TL0 = 0x00; if(count < limit) // 如果计数值未达到上限 { count++; // 计数器加1

文件下载

资源详情

[{"title":"( 28 个子文件 707KB ) 基于51单片机的简易计数器","children":[{"title":"13.基于51单片机的计数器","children":[{"title":"基于单片机的计数器","children":[{"title":"截图","children":[{"title":"组成.png <span style='color:#111;'> 68.04KB </span>","children":null,"spread":false},{"title":"计数.png <span style='color:#111;'> 62.08KB </span>","children":null,"spread":false},{"title":"上电.png <span style='color:#111;'> 59.43KB </span>","children":null,"spread":false}],"spread":true},{"title":"程序","children":[{"title":"计数器.plg <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"计数器.build_log.htm <span style='color:#111;'> 1006B </span>","children":null,"spread":false},{"title":"计数器.lnp <span style='color:#111;'> 44B </span>","children":null,"spread":false},{"title":"计数器.uvopt <span style='color:#111;'> 5.26KB </span>","children":null,"spread":false},{"title":"计数器_uvopt.bak <span style='color:#111;'> 53.93KB </span>","children":null,"spread":false},{"title":"计数器.hex <span style='color:#111;'> 853B </span>","children":null,"spread":false},{"title":"计数器.M51 <span style='color:#111;'> 5.25KB </span>","children":null,"spread":false},{"title":"计数器_uvproj.bak <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"计数器.c <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"计数器.uvproj <span style='color:#111;'> 13.93KB </span>","children":null,"spread":false},{"title":"计数器.LST <span style='color:#111;'> 747B </span>","children":null,"spread":false},{"title":"计数器.OBJ <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"计数器 <span style='color:#111;'> 3.42KB </span>","children":null,"spread":false},{"title":"计数器.uvgui.liwei <span style='color:#111;'> 89.00KB </span>","children":null,"spread":false}],"spread":false},{"title":"参考文献","children":[{"title":"基于单片机的计数器设计.docx <span style='color:#111;'> 451.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"原件清单","children":[{"title":"物料清单基于单片机的计数器.pdf <span style='color:#111;'> 37.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"仿真","children":[{"title":"Last Loaded 基于单片机的计数器.pdsbak <span style='color:#111;'> 26.46KB </span>","children":null,"spread":false},{"title":"Backup Of 基于单片机的计数器.pdsbak <span style='color:#111;'> 26.40KB </span>","children":null,"spread":false},{"title":"Last Loaded 基于单片机的计数器.fv8.26.pdsbak <span style='color:#111;'> 26.42KB </span>","children":null,"spread":false},{"title":"Last Loaded 基于单片机的计数器.fv8.21.pdsbak <span style='color:#111;'> 18.07KB </span>","children":null,"spread":false},{"title":"基于单片机的计数器.pdsprj <span style='color:#111;'> 26.46KB </span>","children":null,"spread":false},{"title":"基于单片机的计数器.pdsprj.DESKTOP-RLQLUCA.QXZ.workspace <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"ISIS.dmp <span style='color:#111;'> 74.81KB </span>","children":null,"spread":false},{"title":"基于单片机的计数器.pdsprj.LAPTOP-8HOCLJ4N.liwei.workspace <span style='color:#111;'> 417B </span>","children":null,"spread":false},{"title":"基于单片机的计数器.pdsprj.DESKTOP-Q73T5I0.MAIBENBEN.workspace <span style='color:#111;'> 328B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

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