-
这是关于定时器0使用的例子,RAR文件也是冷杉…
这个两个rar文件是关于定时器0使用的例子, 也是我第一次使用定时器0做的实验程序:
1. T0_ASM.rar, (带中文注释的C51语言例程), 利用定时器0中断实现LED灯的简单控制。
2. T0_C51.rar, (带中文注释的51汇编语言例程), 利用定时器0中断实现LED灯的简单控制。
两个同样功能的timer0中断程序都在MCU51-63K仿真器下通过实验, 小虾们可以试试看。
-Rar files that are both about the example of the use of Timer 0 is also the first to use my timer 0 of the experimental procedure to do: 1. T0_ASM.rar, (with English language routines C51 annotated), make use of the timer 0 interrupt implementation easy control of LED lights. 2. T0_C51.rar, (with English Notes 51 assembly language routines), use of the timer 0 interrupt achieve easy control of LED lights. Same function in both programs at timer0 interrupted MCU51-63K emulator through the experiment, shrimp can give it a try.
- 2022-01-31 01:18:41下载
- 积分:1
-
8253的初始化程序举例:
例1:选择2号计数器,工作在3方式,计数初值为533H(2个字节),采用二进制计数。其初始化程序段为
MOV DX,307...
8253的初始化程序举例:
例1:选择2号计数器,工作在3方式,计数初值为533H(2个字节),采用二进制计数。其初始化程序段为
MOV DX,307H ;命令口
MOV AL,10110110B ;2号计数器的初始化命 令字
OUT DX,AL ;写入命令寄存器
MOV DX,306H ;2号计数器数据口
MOV AX,533H ;计数初值
OUT DX,AL ;选送低字节到2号计数器
MOV AL,AH ;取高字节送AL
OUT DX,AL ;后送高字节到2号计数器
-8253 initialization procedures examples : Example 1 : Select counters on the 2nd, in three ways. Counting for the initial 533H (2 bytes), a binary counting. Initialization of its procedures for MOV DX, 307H; I ordered MOV AL, 10110110B; on the 2nd Counter initialize command word OUT DX, AL; write commands Register MOV DX, 306H; data on the 2nd Counter I MOV AX, 533H; Counting initial OUT DX, AL; low-byte sent to the 2nd Counter MOV AL, AH; With a high-byte send AL OUT DX, AL; evacuations high byte counter to the 2nd
- 2023-08-04 20:25:03下载
- 积分:1
-
单片机C语言下LCD多级菜单的一种实现方法
单片机C语言下LCD多级菜单的一种实现方法-microcontroller C language LCD multi-level menu of a method
- 2022-04-23 05:43:01下载
- 积分:1
-
The highest frequency with a digital LED display 9999
51系列单片机用数码管显示外来频率,最高9999,-The highest frequency with a digital LED display 9999
- 2022-05-22 10:50:54下载
- 积分:1
-
基于MEGA8单片机的AVR单片机STK500编程器源代码(GCC编译器),改软件完全实现ATMEL STK500协议...
基于MEGA8单片机的AVR单片机STK500编程器源代码(GCC编译器),改软件完全实现ATMEL STK500协议-based MEGA8 SCM STK500 AVR Programmer for the source code (GCC compiler ), completely changed the software to achieve agreement ATMEL STK500
- 2022-05-04 22:22:08下载
- 积分:1
-
W78e58读写iButton的源程序,应用于电子门锁的完整程序
W78e58读写iButton的源程序,应用于电子门锁的完整程序-W78e58 iButton read and write the source code used in electronic locks integrity procedures
- 2023-02-17 16:15:03下载
- 积分:1
-
keil 资料
keil 资料-keil information
- 2022-05-07 16:15:00下载
- 积分:1
-
C51写的Zi2020 FM发射模块控制代码!
C51写的Zi2020 FM发射模块控制代码!-C51 wrote Zi2020 FM transmitter module control code!
- 2022-02-09 20:57:20下载
- 积分:1
-
"SCM communication technology and engineering practice," a source book
《单片机通信技术与工程实践》一书的源码-"SCM communication technology and engineering practice," a source book
- 2022-03-03 02:01:17下载
- 积分:1
-
right splc501 LCD Controller Based on the 128 x 64 dot
对基于splc501液晶控制器的128×64点阵的液晶驱动c51程序。包括一个自建字库。-right splc501 LCD Controller Based on the 128 x 64 dot-matrix LCD driver c51 procedures. Include a self-built character.
- 2023-09-05 09:05:03下载
- 积分:1