文件名称:waterled
-
所属分类:
- 标签属性:
- 上传时间:2016-10-26
-
文件大小:41.36kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
在使用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/
__MACOSX/._waterled.docx
__MACOSX/
__MACOSX/._waterled.docx
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.