-
红外遥控接收
ORG 0000H
LJMP START 转入主程序
ORG 0010H
START:
MAIN:
JNB P2...
红外遥控接收
ORG 0000H
LJMP START 转入主程序
ORG 0010H
START:
MAIN:
JNB P2.2,IR
LJMP MAIN
以下为进入P3.2脚外部中断子程序,也就是解码程序
IR:
MOV R6,#9
SB:
ACALL DELAY882 调用882微秒延时子程序
JB P2.2,EXIT 延时882微秒后判断P3.2脚是否出现高电平如果有就退出解码程序
DJNZ R6, SB 重复10次,目的是检测在8820微秒内如果出现高电-infrared remote control receiver ORG 0000H LJMP START into main program ORG 0010H START : MAIN : JNB P2.2, IR LJMP MAIN below to enter P3.2 foot external interrupt subroutine, which is decoding procedures IR : MOV R6, SB# 9 : Calling ACALL DELAY882 882 microsecond delay subroutine JB P2.2, EXIT 882 microsecond delay after the judgment whether there P3.2 feet to I quit if decoding procedures DJNZ R6, SB repeated 10 times, the purpose is to test if within 8,820 microsecond high
- 2022-07-21 10:12:11下载
- 积分:1
-
基于AVR单片机的机械旋转时钟,将是完美的结合…
基于AVR单片机的机械旋转时钟,将机械和电子完美的结合,具有一定的艺术性,做好后放在家里可以当艺术品-Based on AVR microcontroller mechanical rotary clock, would be the perfect combination of mechanical and electronic, has a certain artistic quality, do a good job at home can be as works of art after
- 2022-06-27 04:59:56下载
- 积分:1
-
实现stc单片机,两个单片机之间的SPI通讯。单主单从
实现stc单片机,两个单片机之间的SPI通讯。单主单从-Stc achieve single-chip, two single-chip communications between the SPI. Single-master single from
- 2022-01-22 17:20:27下载
- 积分:1
-
IRQ4 interrupt has three interrupt sources: 1KHz, 2Kz and 4KHz, each interruptio...
IRQ4中断有三个中断源:1KHz、2Kz和4KHz,每一个中断分别控制与IOA0-IOA1,IOA2-IOA3和IOA4-IOA7相连的LED灯-IRQ4 interrupt has three interrupt sources: 1KHz, 2Kz and 4KHz, each interruption of the respective control and IOA0-IOA1, IOA2-IOA3 and IOA4-IOA7 connected LED lights
- 2022-12-30 15:15:03下载
- 积分:1
-
SCM SCM curriculum design, curriculum design class curriculum design class Class...
单片机课程设计类 单片机课程设计类-SCM SCM curriculum design, curriculum design class curriculum design class Class SCM
- 2022-07-22 04:29:48下载
- 积分:1
-
自己用汇编编写的键盘的扫描程序 希望和大家共享!
自己用汇编编写的键盘的扫描程序 希望和大家共享!-his own compilation prepared by the keyboard scan and you will share!
- 2022-12-30 17:25:15下载
- 积分:1
-
简单的ATmega16中断编程,通过该程序实现单片机中断编程的入门和认识...
简单的ATmega16中断编程,通过该程序实现单片机中断编程的入门和认识-Simple interrupted programming ATmega16
- 2023-08-15 04:45:02下载
- 积分:1
-
avr单片机用的,有源代码,原理图(包括JTAG和STK500)
avr单片机用的,有源代码,原理图(包括JTAG和STK500)-avr Singlechip used, active code, schematics (including JTAG and STK500)
- 2023-02-03 23:55:03下载
- 积分:1
-
MSP430X41X子程序,希望对大家学习430单片机有用... ... ... ...!
MSP430X41X子程序,希望对大家学习430单片机有用... ... ... ...!-MSP430X41X subprogram, and they hope to learn from U.S. 430 Singlechip useful ... ... ... ...!
- 2022-01-21 04:31:41下载
- 积分:1
-
MSP430单片机的开发板原理图,用于初期对430单片机的学习,也可自己制作开发板...
MSP430单片机的开发板原理图,用于初期对430单片机的学习,也可自己制作开发板-MSP430 MCU development board schematic diagram for the early stage of 430 single-chip learning, can also produce their own development board
- 2022-01-24 09:51:14下载
- 积分:1