文件名称:TEST1
介绍说明--下载内容来自于网络,使用问题请自行百度
1.在使用 12MHz 晶振的条件下, 晶振的条件下, 由 80 51 内部定时器 1按方式 1工作,即 作为 16 位定时器使用,每 位定时器使用,每 0.05 秒钟 T1 溢出中断一次。 P1 口的 P1.0P1.0 ~P1.7P1.7 分别接发光二极管的 L1 ~L8 。(用连线接 J2 、J3 )。
要求 :编写程序模拟一循环彩灯。变化花样为: 编写程序模拟一循环彩灯。变化花样为: ①L1 、L2 、…L8 …L8 依 次点亮; ②L1 、L2 、…L8 …L8 …L8 依次熄 灭; ③L1 、L2 、…L8 …L8 …L8 全亮、灭。各 全亮、灭。各 时序间隔为 0.5 秒(1. in the use of 12MHz crystal oscillator, the crystal oscillator conditions, by 8051 internal timer 1 by way of 1 work, that is, as a 16 bit timer, each timer use, every 0.05 seconds T1 overflow interrupt once. The P1.0P1.0 to P1.7P1.7 of the P1 port is connected to the L1 to L8 of the led. (connecting J2, J3).
Requirements: write a program to simulate a circular lantern. Changing patterns: writing programs to simulate a circular lantern. The change patterns are as follows: L1, L2,... L8... L8 lit in turn; L1, L2,... L8... L8... L8 was extinguished successively; L1 and L2,... L8... L8... L8 all bright and extinguish. All lights are bright and clear. The timing interval is 0.5 seconds)
要求 :编写程序模拟一循环彩灯。变化花样为: 编写程序模拟一循环彩灯。变化花样为: ①L1 、L2 、…L8 …L8 依 次点亮; ②L1 、L2 、…L8 …L8 …L8 依次熄 灭; ③L1 、L2 、…L8 …L8 …L8 全亮、灭。各 全亮、灭。各 时序间隔为 0.5 秒(1. in the use of 12MHz crystal oscillator, the crystal oscillator conditions, by 8051 internal timer 1 by way of 1 work, that is, as a 16 bit timer, each timer use, every 0.05 seconds T1 overflow interrupt once. The P1.0P1.0 to P1.7P1.7 of the P1 port is connected to the L1 to L8 of the led. (connecting J2, J3).
Requirements: write a program to simulate a circular lantern. Changing patterns: writing programs to simulate a circular lantern. The change patterns are as follows: L1, L2,... L8... L8 lit in turn; L1, L2,... L8... L8... L8 was extinguished successively; L1 and L2,... L8... L8... L8 all bright and extinguish. All lights are bright and clear. The timing interval is 0.5 seconds)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
TEST1.docx | 13111 | 2017-11-21 |
TEST1.ASM | 867 | 2017-11-21 |
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.