文件名称:SCM6digitalcontrolelectronicclockprogram
介绍说明--下载内容来自于网络,使用问题请自行百度
显示缓冲单元在70H—75H,70H—71H显示秒,72H—73H显示分,74H—75H显示时
时间计数单元在70H—71H(秒)、76H—77H(分)、78H—79H(时),7AH单元放熄灭符(#0AH)
计数单元采用BCD码计数,定时器T0设置为50MS溢出中断,为秒计数用,
定时器T1为调整时闪烁用
P3.2为调整按钮,P0口为字符输出口,P2.1-P2.6为位控制口-采用共阳显示管。
-Display buffer unit in the 70H-75H, 70H-71H show seconds, 72H-73H show points, 74H-75H is displayed the time counting unit in the 70H-71H (seconds), 76H-77H (points), 78H-79H (when the ), 7AH units put out character (# 0AH) count unit using BCD code count, timer T0 is set to 50MS overflow interrupt count for the second use timer T1 used for the adjustment of flashes P3.2 for adjustment button, P0 port for the characters in the output port, P2.1-P2.6 as a bit control port- with a total of Yang Display Tube.
时间计数单元在70H—71H(秒)、76H—77H(分)、78H—79H(时),7AH单元放熄灭符(#0AH)
计数单元采用BCD码计数,定时器T0设置为50MS溢出中断,为秒计数用,
定时器T1为调整时闪烁用
P3.2为调整按钮,P0口为字符输出口,P2.1-P2.6为位控制口-采用共阳显示管。
-Display buffer unit in the 70H-75H, 70H-71H show seconds, 72H-73H show points, 74H-75H is displayed the time counting unit in the 70H-71H (seconds), 76H-77H (points), 78H-79H (when the ), 7AH units put out character (# 0AH) count unit using BCD code count, timer T0 is set to 50MS overflow interrupt count for the second use timer T1 used for the adjustment of flashes P3.2 for adjustment button, P0 port for the characters in the output port, P2.1-P2.6 as a bit control port- with a total of Yang Display Tube.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
SCM6digitalcontrolelectronicclockprogram.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.