文件名称:shumaguandongtaisaomiaoxianshi
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 18kb
- 下载次数:
- 0次
- 提 供 者:
- 仁*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
1.利用动态扫描方法在六位数码管上显示出稳定的654321.
2.用动态扫描方法和定时器1在数码管的前三位显示出秒表,精确到1 秒,即后两位显示1 秒,一直循环下去。
3.利用动态扫描和定时器1在数码管上显示出从765432开始以1/10秒的速度往下递减直至765398并保持显示此数,与此同时利用定时器0以500MS速度进行流水灯从上至下移动,当数码管上数减到停止时,实验板上流水灯也停止然后全部开始闪烁,3秒后(用T0定时)流水灯全部关闭、数码管上显示出“HELLO”。到此保持住。
-1. By dynamic scanning method of the six digital display a stable 654321.2. By dynamic scanning method and Timer 1 in the top three shows digital stopwatch, accurate to 1 in seconds, that is displayed after the two 1 of the second, has been the cycle continues. 3. Use of dynamic scanning and Timer 1 in the digital tube display starting from 765 432 to 1/10 sec down and keep decreasing until the show this number 765,398, while the use of Timer 0 to 500MS speed of light from the water move on to the next, when the LED stops on the reduced number of experimental water board and then all the lights have stopped flashing, 3 seconds (timed with T0) water all the lights turned off, digital tube display " HELLO" . This hold.
2.用动态扫描方法和定时器1在数码管的前三位显示出秒表,精确到1 秒,即后两位显示1 秒,一直循环下去。
3.利用动态扫描和定时器1在数码管上显示出从765432开始以1/10秒的速度往下递减直至765398并保持显示此数,与此同时利用定时器0以500MS速度进行流水灯从上至下移动,当数码管上数减到停止时,实验板上流水灯也停止然后全部开始闪烁,3秒后(用T0定时)流水灯全部关闭、数码管上显示出“HELLO”。到此保持住。
-1. By dynamic scanning method of the six digital display a stable 654321.2. By dynamic scanning method and Timer 1 in the top three shows digital stopwatch, accurate to 1 in seconds, that is displayed after the two 1 of the second, has been the cycle continues. 3. Use of dynamic scanning and Timer 1 in the digital tube display starting from 765 432 to 1/10 sec down and keep decreasing until the show this number 765,398, while the use of Timer 0 to 500MS speed of light from the water move on to the next, when the LED stops on the reduced number of experimental water board and then all the lights have stopped flashing, 3 seconds (timed with T0) water all the lights turned off, digital tube display " HELLO" . This hold.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
例程\lesson4zuoye.lst
....\lesson4zuoye.obj
....\lessson4_1
....\lessson4_1.c
....\lessson4_1.hex
....\lessson4_1.lnp
....\lessson4_1.LST
....\lessson4_1.M51
....\lessson4_1.OBJ
....\lessson4_1.Opt
....\lessson4_1.plg
....\lessson4_1.Uv2
....\lessson4_2.c
....\lessson4_2.LST
....\lessson4_2.OBJ
....\lessson4_3.c
....\lessson4_3.LST
....\lessson4_3.OBJ
例程
....\lesson4zuoye.obj
....\lessson4_1
....\lessson4_1.c
....\lessson4_1.hex
....\lessson4_1.lnp
....\lessson4_1.LST
....\lessson4_1.M51
....\lessson4_1.OBJ
....\lessson4_1.Opt
....\lessson4_1.plg
....\lessson4_1.Uv2
....\lessson4_2.c
....\lessson4_2.LST
....\lessson4_2.OBJ
....\lessson4_3.c
....\lessson4_3.LST
....\lessson4_3.OBJ
例程