文件名称:p6
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 38kb
- 下载次数:
- 0次
- 提 供 者:
- m**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
内部定时器与中断实验
由8051内部定时器0按方式1工作,即作为16位定时器使用,每0.1秒钟T0溢出中断一次。要求编写程序模拟循环彩灯。彩灯变化花样为:由中间(L4、L5)两位开始向两侧依次累加点亮;全亮后由中间(L4、L5)两位开始向两侧依次累加熄灭;全灭后由两边(L1、L8)两位向中间依次累加点亮;全亮后由两边(L1、L8)两位向中间依次累加熄灭。各时序间隔为0.5秒,依此循环。-Internal timer with the interruption of the experiment by the 8051 internal timer 0 by way of a work, that is used as a 16-bit timer, every 0.1 seconds a T0 overflow interrupt. Requested by the simulation cycle lantern. Lantern patterns change as follows: from the middle (L4, L5) followed by the two began to accumulate on both sides of light by the middle of the whole-liang (L4, L5) followed by both sides of the two began to accumulate extinguished body by both sides ( L1, L8) followed by two to the middle of cumulative lit all-liang by both sides (L1, L8) followed by two to the middle of cumulative extinguished. The timing interval is 0.5 seconds, and so the cycle.
由8051内部定时器0按方式1工作,即作为16位定时器使用,每0.1秒钟T0溢出中断一次。要求编写程序模拟循环彩灯。彩灯变化花样为:由中间(L4、L5)两位开始向两侧依次累加点亮;全亮后由中间(L4、L5)两位开始向两侧依次累加熄灭;全灭后由两边(L1、L8)两位向中间依次累加点亮;全亮后由两边(L1、L8)两位向中间依次累加熄灭。各时序间隔为0.5秒,依此循环。-Internal timer with the interruption of the experiment by the 8051 internal timer 0 by way of a work, that is used as a 16-bit timer, every 0.1 seconds a T0 overflow interrupt. Requested by the simulation cycle lantern. Lantern patterns change as follows: from the middle (L4, L5) followed by the two began to accumulate on both sides of light by the middle of the whole-liang (L4, L5) followed by both sides of the two began to accumulate extinguished body by both sides ( L1, L8) followed by two to the middle of cumulative lit all-liang by both sides (L1, L8) followed by two to the middle of cumulative extinguished. The timing interval is 0.5 seconds, and so the cycle.
相关搜索: P6
(系统自动生成,下载前可以参看下载内容)
下载文件列表
p6
..\Last Loaded p6.DBK
..\p6
..\p6.c
..\p6.DSN
..\p6.hex
..\p6.htm
..\p6.lnp
..\p6.LST
..\p6.M51
..\p6.OBJ
..\p6.Opt
..\p6.plg
..\p6.PWI
..\p6.Uv2
..\STARTUP.A51
..\STARTUP.LST
..\STARTUP.OBJ
..\Last Loaded p6.DBK
..\p6
..\p6.c
..\p6.DSN
..\p6.hex
..\p6.htm
..\p6.lnp
..\p6.LST
..\p6.M51
..\p6.OBJ
..\p6.Opt
..\p6.plg
..\p6.PWI
..\p6.Uv2
..\STARTUP.A51
..\STARTUP.LST
..\STARTUP.OBJ