文件名称:dianzishiz
介绍说明--下载内容来自于网络,使用问题请自行百度
使用keil软件。单片机电子时钟用AT89C51单片机的定时/计数器T0产生一秒的定时时间,作为秒计数时间,当一秒产生时,秒计数加1。开机时显示00-00-00的时间,开始计时:P1.0控制“add(加)“的调整,每按一次计数加1;P1.1控制“minute(减)“的调整,每按一次计数减1;P1.2控制”移位“的调整,第一次按键按下是控制秒或天加1,第二次按键按下是控制分或月加1,第三次按键按下是控制时或年加1。计时满23-59-59时,返回00-00-00重新计时。P1.4用做复位键,在计时过程中如果按下复位键,则返回00-00-00重新计时。P1.3用作切换键,按下切换键切换到显示年月日。-Use keil software. SCM AT89C51 microcontroller with electronic clock timer/counter T0 produce a second timing, as the seconds counting time, when a second generation, plus a second count. 00-00-00 show time starts counting at boot: P1.0 Control add (plus) adjustment count is incremented each time you press 1 P1.1 control minute (minus) adjusted each time count by 1 P1.2 control Shift adjustment, the first key press is controlled seconds or days plus a second button press control points or month plus a third button is pressed control or years plus 1. When the timing is full 23-59-59, 00-00-00 re-timing return. P1.4 used the reset button, the timer process if the reset button is pressed, it returns 00-00-00 re-timing. P1.3 used as a toggle key, press the switch button to switch to display the date.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
dianzishiz.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.