文件名称:waterled
介绍说明--下载内容均来自于网络,请自行研究使用
在使用12MHz晶振的条件下,由8051内部定时器1按方式1工作,即作为16位定时器使用,每0.05秒钟T1溢出中断一次。 P1口的P1.0~P1.7分别接发光二极管的L1~L8。(用连线连接J2、J3)。
要求:编写程序模拟一循环彩灯。彩灯变化花样为:①L1、L2、…L8依次点亮;②L1、L2、…L8依次熄灭;③L1、L2、…L8全 亮、全灭。各时序间隔为0.5秒。让发光二极管按以上规律循环显示下去。- In the case of using 12MHz crystal condition, 1 1 in the manner of work by the 8051 internal timer, that is, as 16-bit timer, every 0.05 seconds T1 overflow interrupt again. P1 port P1.0 ~ P1.7 are connected to the light-emitting diodes L1 ~ L8. (With a line connecting J2, J3). Requirements: programming a simulation cycle lights. Lantern pattern of change: ①L1, L2, ... L8 were lit ②L1, L2, ... L8 turn off ③L1, L2, ... L8 whole light, completely destroyed. Each timing interval of 0.5 seconds. Let the light emitting diode according to the above laws cycle continues.
要求:编写程序模拟一循环彩灯。彩灯变化花样为:①L1、L2、…L8依次点亮;②L1、L2、…L8依次熄灭;③L1、L2、…L8全 亮、全灭。各时序间隔为0.5秒。让发光二极管按以上规律循环显示下去。- In the case of using 12MHz crystal condition, 1 1 in the manner of work by the 8051 internal timer, that is, as 16-bit timer, every 0.05 seconds T1 overflow interrupt again. P1 port P1.0 ~ P1.7 are connected to the light-emitting diodes L1 ~ L8. (With a line connecting J2, J3). Requirements: programming a simulation cycle lights. Lantern pattern of change: ①L1, L2, ... L8 were lit ②L1, L2, ... L8 turn off ③L1, L2, ... L8 whole light, completely destroyed. Each timing interval of 0.5 seconds. Let the light emitting diode according to the above laws cycle continues.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
waterled.docx
__MACOSX
........\._waterled.docx