- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
项目8-电子表程序设计(Project 8- spreadsheet program design)
项目8-电子表程序设计(Project 8- spreadsheet program design)
This article is contributed by EricNo521
Ppt documents may experience poor browsing on the WAP side. It is recommended that you first select TXT, or download the source file to the local view.
Embedded microcontroller, direction microcontroller C language program, project design
Item 88 program design of electronic clock
Task description
An electronic watch is the most typical case of simple microcontroller system, the design method of dynamic scanning using this section study mode of electronic bell 6 digital tube, the main purpose is to let readers master the structured programming method to understand the use of array variables to achieve digital tube digital display and keyboard skills; master control program. The design of this case is carried out in stages. First of all, the timer is used to realize the display and adjustment of the clock, including the flashing of the digital adjustment, the definition of the range of adjustment and so on. Then realize the function of a single alarm clock, including the timing of the show, the adjustment of the time, the timing of the bell and other functions. Finally realize the double alarm clock all adjustable design goal.
8.1.1 design task
The use of 6 digital tube display when the electronic watch, dual alarm. Use 4 keys to control, press the mode key, then adjust the number, add and subtract, and turn on the alarm clock. Long press the add and subtract key, adjust quickly, stop blinking. In ordinary mode, press the alarm button to show the timing, and when the alarm is pressed, the alarm is stopped. After entering the adjustment mode, 10 seconds, any key does not operate, will return to the normal display mode. The circuit used is shown in figure 8.1.1. Six digital tube segment selection connection in the microcontroller P0 port, bit select connection in the microcontroller P2 port, from right to left, respectively, from P2.0 to P2.5. The keyboard is connected from P3.2
您可能关注的文档
- 院感试题(Courtyard examination questions).doc
- 院总值班工作制度(General office duty system).doc
- 院士著作馆院士信息资源数字化探析(Digitalization of information resources of academicians, academicians and academicians).doc
- 院外急救人员的预备知识(Preparation knowledge of emergency personnel outside the hospital).doc
- 除尘设备的分类(Classification of dust removal equipment).doc
- 除恐灾患经(In addition to the fear of disaster.).doc
- 除湿机应该如何的保养(How should the dehumidifier be maintained).doc
- 除法1-6(Division 1-6).doc
- 除草剂返青(Herbicide green).doc
- 除颤仪的操作程序(Procedures for the operation of an defibrillator).doc
- 音像店恼和行业的实质管理(The video shop and the real management of the industry).doc
- 项目功能差异及其检测方法(Item function difference and its detection method).doc
- 音量控制不见(Volume control not seen).doc
- 项目投资与评估-在线作业_a(Project investment and evaluation - online homework _a).doc
- 音标发音方法(Phonetic transcription method).doc
- 项目安全总监岗位职责和安全职责(Job responsibilities and safety responsibilities of project safety director).doc
- 项目投资与评估-在线作业_b(Project investment and evaluation - online homework _b).doc
- 项目投资与评估-在线作业_c(Project investment and evaluation - online homework _c).doc
- 项目管理与评估—在线作业_a 最终成绩100.0(Project management and evaluation online homework _a final score 100).doc
- 音标发音(Phonetic transcription).doc
文档评论(0)