-
将单片机的IOA0~IOA7分别接按键S1~S8连接到高电平上。此时,如果某个按键被按下,对应的I/O端口就会输入高电平进单片机,即按键S3按下,IOA2会输入...
将单片机的IOA0~IOA7分别接按键S1~S8连接到高电平上。此时,如果某个按键被按下,对应的I/O端口就会输入高电平进单片机,即按键S3按下,IOA2会输入高电平进单片机-Will Singlechip IOA0 ~ IOA7 access keys, respectively, S1 ~ S8 is connected to high on. At this point, if a button is pressed, the corresponding I/O port will enter into the high single-chip, that is, S3 button press, IOA2 will enter into single-chip high
- 2022-12-11 22:30:04下载
- 积分:1
-
Serial communication program, sending instead of interrupt mode, receive mode us...
串行通信程序,发送不是用中断方式,接收用中断方式,适用于程序的调试,液晶显示用的是1602-Serial communication program, sending instead of interrupt mode, receive mode using interrupted for Debugging, liquid crystal display using 1602
- 2023-08-19 16:05:03下载
- 积分: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:CypressUSBExamplesFX2重要的实验程序cypress官方提供ledcycle
C:CypressUSBExamplesFX2重要的实验程序cypress官方提供ledcycle-C: CypressUSBExamplesFX2 important experimental procedures cypress official ledcycle
- 2022-06-26 12:55:26下载
- 积分:1
-
51 单片机
汇编子程序
含计算 子程序
51 单片机
汇编子程序
含计算 子程序-51 subprogram
- 2022-05-17 00:00:02下载
- 积分:1
-
利用pt2262作为发射端的主控芯片,该代码实现了控制pt2262的部分...
利用pt2262作为发射端的主控芯片,该代码实现了控制pt2262的部分-pt2262 use as a launch-control of the chip, the realization of the control code pt2262 part. .
- 2022-04-25 18:13:06下载
- 积分:1
-
基于FREESCALE单片机9S08DZ60的LIN从节点的应用层源代码.LIN是通过UART串口来实现的.开发环境为CODEWARRIOR FOR HC08...
基于FREESCALE单片机9S08DZ60的LIN从节点的应用层源代码.LIN是通过UART串口来实现的.开发环境为CODEWARRIOR FOR HC08-Based on Freescale
- 2023-08-15 13:35:04下载
- 积分:1
-
lcd12864 显示汉字图片 反白,是一个非常好的程序,可以和大家共享,...
lcd12864 显示汉字图片 反白,是一个非常好的程序,可以和大家共享,-lcd12864 display Chinese characters picture anti-white, is a very good process, and everyone can share,
- 2022-03-11 09:24:57下载
- 积分:1
-
我在写MSP430F140 C程序,希望对大家有帮助
我自己改写的MSP430F140的C例程,希望能对大家有所帮助-I write in the MSP430F140 C routines, we hope to help
- 2022-04-09 02:02:06下载
- 积分:1
-
avr attiny2313红外线接受程序
avr attiny2313红外线接受程序-avr attiny2313 infrared accepted procedures
- 2023-07-12 13:20:02下载
- 积分:1