文件名称:ex8_1
介绍说明--下载内容来自于网络,使用问题请自行百度
要求其实现的功能如下(其中定时要求采取中断方式):
1、用6位数码管显示秒表时间,最左边2位显示分,中间2位显示秒,最右边2位显示秒的小数位(0.00~0.99秒),秒与小数位之间要显示小数点。
2、两个按键:
(1)计时/停止按键:首次按下从0开始计时,再次按下暂停计时,之后每次按下按键实现‘继续计时、暂停计时,继续计时、暂停计时……’。(继续计时即从上次暂停时的时间开始继续计时)
(2)复位按键:按下后全部清0,等待下次按下‘计时/停止按键’时重新开始计时。-Its implementation requires the following functions (which take interrupt timing requirements):
1, with 6 digital display stopwatch time display leftmost two points in the middle two seconds to display the rightmost two decimal places displayed in seconds (0.00 to 0.99 seconds), between the second and the number of decimal places to display the decimal point.
2, two buttons:
(1) Timing/Stop button: Press first start counting from 0, press the pause timer again, press the button after each realization to continue timing, pause time, continue timing, pause timing ...... . (Continue counting starts continue counting from the time when the last pause)
(2) reset button: After pressing all cleared, waiting for the next time you press the timer/stop button re-start timing.
1、用6位数码管显示秒表时间,最左边2位显示分,中间2位显示秒,最右边2位显示秒的小数位(0.00~0.99秒),秒与小数位之间要显示小数点。
2、两个按键:
(1)计时/停止按键:首次按下从0开始计时,再次按下暂停计时,之后每次按下按键实现‘继续计时、暂停计时,继续计时、暂停计时……’。(继续计时即从上次暂停时的时间开始继续计时)
(2)复位按键:按下后全部清0,等待下次按下‘计时/停止按键’时重新开始计时。-Its implementation requires the following functions (which take interrupt timing requirements):
1, with 6 digital display stopwatch time display leftmost two points in the middle two seconds to display the rightmost two decimal places displayed in seconds (0.00 to 0.99 seconds), between the second and the number of decimal places to display the decimal point.
2, two buttons:
(1) Timing/Stop button: Press first start counting from 0, press the pause timer again, press the button after each realization to continue timing, pause time, continue timing, pause timing ...... . (Continue counting starts continue counting from the time when the last pause)
(2) reset button: After pressing all cleared, waiting for the next time you press the timer/stop button re-start timing.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex8_1/ex8_1
ex8_1/ex8_1.hex
ex8_1/ex8_1.lnp
ex8_1/ex8_1.M51
ex8_1/ex8_1.plg
ex8_1/ex8_1.uvopt
ex8_1/ex8_1.uvproj
ex8_1/ex8_1_uvopt.bak
ex8_1/ex8_1_uvproj.bak
ex8_1/STARTUP.A51
ex8_1/STARTUP.LST
ex8_1/STARTUP.OBJ
ex8_1/x8_1.c
ex8_1/x8_1.LST
ex8_1/x8_1.OBJ
ex8_1
ex8_1/ex8_1.hex
ex8_1/ex8_1.lnp
ex8_1/ex8_1.M51
ex8_1/ex8_1.plg
ex8_1/ex8_1.uvopt
ex8_1/ex8_1.uvproj
ex8_1/ex8_1_uvopt.bak
ex8_1/ex8_1_uvproj.bak
ex8_1/STARTUP.A51
ex8_1/STARTUP.LST
ex8_1/STARTUP.OBJ
ex8_1/x8_1.c
ex8_1/x8_1.LST
ex8_1/x8_1.OBJ
ex8_1
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.