文件名称:asm
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:11.01kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
由80C51内部定时器1按方式1工作,即作为16位定时器使用,每0.1秒钟T1溢出中断一次。P1口的P1.0~P1.7分别接发光二极管的L1~L8。要求编写程序模拟一循环彩灯。彩灯变化花样可自行设计。要求给出的变化花样为:①L1、L2、…L8依依点亮;②L1、L2、…L8依依熄灭;③L1、L2、…L8交差亮8次。④L1、L2、…L8全亮、全灭8次。各时间间隔为0.3秒。让发光二极管按以上规律循环显示下去。-By the 80C51 Timer 1 by way of an internal work, that is, as 16-bit timer, T1 overflow interrupt every 0.1 seconds once. P1 port P1.0 ~ P1.7 respectively, then the light-emitting diodes L1 ~ L8. Requested by the program to simulate one cycle of lights. Lights change pattern can design their own. Required to give change in pattern is: ① L1, L2, ... L8 reluctant to light ② L1, L2, ... L8 reluctant to go out ③ L1, L2, ... L8 cross off 8 times. ④ L1, L2, ... L8 all bright, all off 8 times. The time interval of 0.3 seconds. Let light-emitting diode display according to the above rule cycle continues.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
asm.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.