基于51单片机的DS1302可调时钟+闹钟版.zip

上传者: Rikka_1w | 上传时间: 2023-03-22 11:49:25 | 文件大小: 78KB | 文件类型: ZIP
C51
上篇文末提到可以优化的地方包括加入闹钟,了解无源蜂鸣器的工作原理后,就着手扩展闹钟设置功能了,同时按键按下加入蜂鸣器的提示音。由于上篇的篇幅过长了,所以决定单独写一篇这个闹钟模块。 实现思路 : 1、保持原有功能情况下加入第三个模式 2、当前模式下执行功能,设置时分秒,同样是选中位闪烁,增大减小,越界判断等可以直接照搬前面的 3、设置的时分秒存在一个数组,当当前时间的时分秒都与之对应相等调用蜂鸣器 4、按下任意独立按键可以终止闹钟

文件下载

资源详情

[{"title":"( 35 个子文件 78KB ) 基于51单片机的DS1302可调时钟+闹钟版.zip","children":[{"title":"11-2 DS1302可调时钟+闹钟版","children":[{"title":"Key.c <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"project.uvgui.123 <span style='color:#111;'> 73.06KB </span>","children":null,"spread":false},{"title":"Delay.h <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"DS1302.c <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"project.uvopt <span style='color:#111;'> 9.45KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 9.12KB </span>","children":null,"spread":false},{"title":"Buzzer.h <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"Objects","children":[{"title":"Timer0Init.obj <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"DS1302.obj <span style='color:#111;'> 7.75KB </span>","children":null,"spread":false},{"title":"Key.obj <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false},{"title":"project.hex <span style='color:#111;'> 9.47KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 17.53KB </span>","children":null,"spread":false},{"title":"project <span style='color:#111;'> 40.76KB </span>","children":null,"spread":false},{"title":"Delay.obj <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"project.lnp <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"Buzzer.obj <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false},{"title":"LCD1602.obj <span style='color:#111;'> 11.37KB </span>","children":null,"spread":false},{"title":"project.build_log.htm <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":false},{"title":"Timer0Init.c <span style='color:#111;'> 640B </span>","children":null,"spread":false},{"title":"LCD1602.c <span style='color:#111;'> 4.95KB </span>","children":null,"spread":false},{"title":"Buzzer.c <span style='color:#111;'> 528B </span>","children":null,"spread":false},{"title":"Delay.c <span style='color:#111;'> 357B </span>","children":null,"spread":false},{"title":"Timer0Init.h <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"Key.h <span style='color:#111;'> 70B </span>","children":null,"spread":false},{"title":"LCD1602.h <span style='color:#111;'> 655B </span>","children":null,"spread":false},{"title":"Listings","children":[{"title":"LCD1602.lst <span style='color:#111;'> 9.96KB </span>","children":null,"spread":false},{"title":"Delay.lst <span style='color:#111;'> 1.81KB </span>","children":null,"spread":false},{"title":"main.lst <span style='color:#111;'> 18.24KB </span>","children":null,"spread":false},{"title":"DS1302.lst <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false},{"title":"Timer0Init.lst <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"Key.lst <span style='color:#111;'> 1.61KB </span>","children":null,"spread":false},{"title":"project.m51 <span style='color:#111;'> 36.86KB </span>","children":null,"spread":false},{"title":"Buzzer.lst <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"DS1302.h <span style='color:#111;'> 274B </span>","children":null,"spread":false},{"title":"project.uvproj <span style='color:#111;'> 15.48KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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