文件名称:cfm_count
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-04-30
- 文件大小:
- 32kb
- 下载次数:
- 0次
- 提 供 者:
- c**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
程序可以完成以下功能:
(1)本程序以stc12c5410ad为控制器而设计
(2)本程序可以完成计数功能,最大值为9999。
(3)计数接口采用stc12c5410ad的第13个引脚,即P2.5。
(4)P2.5平时为高电平,当P2.5变为低电平,且低电平时间超过907us时,则计数器加1。
(5)本程序具有计时功能,当单片机上电复位之后开始计时,时间以秒的形式显示出来。
计时最大值为9999s。
(6)四个数码管显示计数值,当按下KEY3键时,显示时间,即单片机已经运行了多少秒。
当松开KEY3按键时,数码管仍然显示计数值。
(7)计数值没有存储,当单片机上电复位时,计数值归零。
-The program can perform the following functions: (1) this program STC12C5410AD-controller design (2) procedures to be completed counting function, the maximum is 9999. (3) Count interface using 13-pin STC12C5410AD, P2.5. (4) P2.5 usually high, when P2.5 goes low, low time exceeds 907us, the counter is incremented by 1. (5) The program has a timer function, single-chip power-on reset start time, time displayed and seconds. The timing a maximum of 9999s. (6) four digital display count value, When the press KEY3, display time, the microcontroller has been running for a number of seconds. When release the KEY3 button, the digital still count. (7) the count value is not stored, when the single-chip power-on reset, the count value to zero.
(1)本程序以stc12c5410ad为控制器而设计
(2)本程序可以完成计数功能,最大值为9999。
(3)计数接口采用stc12c5410ad的第13个引脚,即P2.5。
(4)P2.5平时为高电平,当P2.5变为低电平,且低电平时间超过907us时,则计数器加1。
(5)本程序具有计时功能,当单片机上电复位之后开始计时,时间以秒的形式显示出来。
计时最大值为9999s。
(6)四个数码管显示计数值,当按下KEY3键时,显示时间,即单片机已经运行了多少秒。
当松开KEY3按键时,数码管仍然显示计数值。
(7)计数值没有存储,当单片机上电复位时,计数值归零。
-The program can perform the following functions: (1) this program STC12C5410AD-controller design (2) procedures to be completed counting function, the maximum is 9999. (3) Count interface using 13-pin STC12C5410AD, P2.5. (4) P2.5 usually high, when P2.5 goes low, low time exceeds 907us, the counter is incremented by 1. (5) The program has a timer function, single-chip power-on reset start time, time displayed and seconds. The timing a maximum of 9999s. (6) four digital display count value, When the press KEY3, display time, the microcontroller has been running for a number of seconds. When release the KEY3 button, the digital still count. (7) the count value is not stored, when the single-chip power-on reset, the count value to zero.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cfm_count\cfm_count.LST
.........\cfm_count.OBJ
.........\cfm_count
.........\STARTUP.A51
.........\cfm_count.plg
.........\cfm_count.c
.........\stc12c5410ad.H
.........\cfm_count.hex
.........\STARTUP.LST
.........\cfm_count.uvproj
.........\cfm_count.lnp
.........\cfm_count.M51
.........\cfm_count.uvopt
.........\STARTUP.OBJ
.........\cfm_count.__i
.........\cfm_count_uvproj.bak
.........\cfm_count_uvopt.bak
cfm_count