文件名称:xhcd
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [ASM] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- j*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
由8031内部定时器1按方式1工作,即作为16位定时器使用,每0.1秒钟T1溢出中断一次。P1口的P1.0~P1.7分别接发光二极管的L1~L8。要求编写程序模拟一循环彩灯。彩灯变化花样可自行设计。例程给出的变化花样为:①L1、L2、…L8依次点亮;②L1、L2、…L8依次熄灭;③L1、L2、…L8全亮、全灭。各时序间隔为0.5秒。让发光二极管按以上规律循环显示下去。-By 8031 according to an internal timer means a work, that is, as a 16-bit timers, each of 0.1 seconds, T1 overflow interrupt time. P1 port P1.0 ~ P1.7 were then light-emitting diodes L1 ~ L8. Requested to prepare program to simulate a cycle of lights. Changes in pattern can design their own lantern. Given changes in routine patterns of: ① L1, L2, ... L8 followed by light ② L1, L2, ... L8 turn out ③ L1, L2, ... L8 full bright Quanmie. The timing interval is 0.5 seconds. Let the law of circulation by the above light-emitting diode display down.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
循环彩灯\循环彩灯.asm
循环彩灯
循环彩灯