-
红外遥控接收
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
-
多
电力系统多功能电表 CRC校验代码源程序大全,支持以下规约或电表
ALPHA规约,IEC1107规约,DLT645规约,EDMI规约,ION-ModBUS RTU规约,ModBus规约,Quad4规约-Multi-function meter power system source code CRC checksum Guinness, to support the following Statute or the Statute ALPHA meter, IEC1107 statute, DLT645 statute, EDMI statute, ION-ModBUS RTU statute, ModBus statute, Quad4 Statute
- 2022-02-13 16:39:58下载
- 积分:1
-
用485实现单片机之间的串行通信。
从机部分一直等待主机的命令,接收到就发响应信号,然后接受数据,接受成功就用液晶显示...
用485实现单片机之间的串行通信。
从机部分一直等待主机的命令,接收到就发响应信号,然后接受数据,接受成功就用液晶显示-MCU with 485 Serial Communication between. From the plane of the mainframe have been waiting for the orders received on the response signal and then receive data on the successful use of acceptable LCD
- 2022-08-07 21:09:13下载
- 积分:1
-
7279 driver keyboard AT89C51 single
AT89c51单片机7279驱动键盘数码管程序-7279 driver keyboard AT89C51 single-chip digital control procedures
- 2022-08-24 01:47:43下载
- 积分:1
-
C8051f021单片机 ASm 头文件
C8051f021单片机 ASm 头文件-C8051f021 SCM ASm header files
- 2023-05-08 10:45:02下载
- 积分:1
-
用单片机实现计时器,并将数字用八段四位数码管显示出来
用单片机实现计时器,并将数字用八段四位数码管显示出来-With MCU timer, and four figures with eight digital tube display
- 2023-07-11 04:00:03下载
- 积分:1
-
8051 的一个键盘扫描的程序
8051 的一个键盘扫描的程序-8051 a keyboard scan procedure
- 2022-07-08 01:00:04下载
- 积分:1
-
MSP430F149 and the CC2420
基于msp430f149与CC2420的无线传感器网络平台,CC2420的C语言驱动代码-MSP430F149 and the CC2420-based wireless sensor network platform, CC2420 driver in C language code
- 2022-05-18 16:15:02下载
- 积分:1
-
LPC2378液晶演示项目的源代码,希望大家喜欢
LPC2378 LCD演示工程源代码,希望大家喜欢-LPC2378 LCD demo project source code, I hope everyone likes
- 2022-03-04 17:45:16下载
- 积分:1
-
采用ATMEGA48设计制作低成本高精度的数字温度计,采用C语言设计开发源代码。...
采用ATMEGA48设计制作低成本高精度的数字温度计,采用C语言设计开发源代码。-ATMEGA48 design using low-cost high-precision digital thermometer, design and development using C language source code.
- 2023-01-18 23:50:03下载
- 积分:1