-
红外遥控接收
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
-
飞思卡尔单片机.推荐给大家看利用CodeWarrior的PE功能生成SPI模块的参考代码一下....
飞思卡尔单片机.推荐给大家看利用CodeWarrior的PE功能生成SPI模块的参考代码一下.-Freescale Singlechip. Recommended for everyone to see use of CodeWarrior to generate the PE functional SPI module reference code look.
- 2022-03-19 14:30:45下载
- 积分:1
-
关于9s12单片机的课件 重点是编程语言和环境
关于9s12单片机的课件 重点是编程语言和环境-on 9s12 SCM courseware focused on programming language and environment
- 2022-01-26 04:33:39下载
- 积分:1
-
a DSP
一种基于DSP技术的配电网实时监测与故障诊断装置-a DSP-based technology distribution network-monitoring and fault diagnosis device
- 2022-01-26 04:32:33下载
- 积分:1
-
凌阳的LCD演示原码,里面还有LCD的使用说明.
凌阳的LCD演示原码,里面还有LCD的使用说明.
- 2023-08-20 18:50:04下载
- 积分:1
-
可用于 51系列单片机与触摸屏之间的通讯 (一般用modbus实现通讯)...
可用于 51系列单片机与触摸屏之间的通讯 (一般用modbus实现通讯)-design for exchange massage both mcu51 and torch pad
- 2022-01-23 11:14:27下载
- 积分:1
-
CC2430 experimental basis experiment 2 button control switch
CC2430 基础实验二 按键控制开关实验-CC2430 experimental basis experiment 2 button control switch
- 2023-08-20 13:40:03下载
- 积分:1
-
NXP的mifare ultralight 数据手册, 英文版本,完成对电子标签的操作....
NXP的mifare ultralight 数据手册, 英文版本,完成对电子标签的操作.-NXP" s data mifare ultralight manual, English version, the completion of the operation of electronic tags.
- 2022-02-22 13:16:44下载
- 积分:1
-
文件中包括:串口通讯程序,以及两个单片机通过串口通讯的程序。...
文件中包括:串口通讯程序,以及两个单片机通过串口通讯的程序。-Document include: serial port communication program, as well as two single-chip serial communication through the process.
- 2022-03-24 12:38:31下载
- 积分:1
-
单片机模糊设计开发系统原代码
单片机模糊设计开发系统原代码-SCM fuzzy design development system source code
- 2023-03-10 04:45:03下载
- 积分:1