Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - timer in 8051
Search - timer in 8051 - List
DL : 0
而利用timer的設計, 清楚的觀察,在8051系統debugger底下中的memory window記憶體位置內容變化-The use of timer design, clear observation, the system in 8051 under the debugger' s memory window the contents of memory location changes
Date : 2025-12-31 Size : 12kb User : sky

DL : 0
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)
Date : 2025-12-31 Size : 10kb User : 出来吧
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.