文件名称:DS03
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:9.4kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
采用两个定时器合用,T0设置为定时方式,T1设置为计数方式。T0定时时间为50ms,计满产生的输出信号由P1.7口发光二极管显示。同时还将该信号输入到计数器T1(P3.5脚)作为T1的计数输入脉冲,当输入信号产生由1到0的跳变时触发计数器工作,使计数器的值增1。计数器T1的初始值设置为100,计满时所用的时间为50ms×2×100,即10s。并由P1.0端口发光二极管来显示,所以P1.0端口的灯每10s点亮或熄灭一次-Combined use of two timers, T0 is set to regular mode, T1 is set to count the way. T0 regular time 50ms, the expiration of the output signal produced by light-emitting diode display P1.7 mouth. At the same time will also be the signal input to counter T1 (P3.5 feet) as T1 count input pulse, when the input signal generated by the 1-0 hopping trigger counter, so that the value of counter by 1. The initial value of T1 counter is set to 100, used by the expiration time for 50ms × 2 × 100, or 10s. P1.0 port by the light-emitting diode displays, so P1.0 port lights lit every 10s or extinguish a
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DS03/10.6.doc
DS03/DS03
DS03/DS03.ASM
DS03/DS03.HEX
DS03/DS03.LST
DS03/DS03.M51
DS03/DS03.OBJ
DS03/DS03.Opt
DS03/DS03.PLG
DS03/DS03.Uv2
DS03/DS03_Opt.Bak
DS03/DS03_Uv2.Bak
DS03
DS03/DS03
DS03/DS03.ASM
DS03/DS03.HEX
DS03/DS03.LST
DS03/DS03.M51
DS03/DS03.OBJ
DS03/DS03.Opt
DS03/DS03.PLG
DS03/DS03.Uv2
DS03/DS03_Opt.Bak
DS03/DS03_Uv2.Bak
DS03
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.