-
红外遥控接收
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
-
实现电动机的软启动控制,modbus通信,LCD带字库显示,软件容错和抗干扰设计不错...
实现电动机的软启动控制,modbus通信,LCD带字库显示,软件容错和抗干扰设计不错-Achieve soft-start motor control, modbus communication, LCD display with font, software fault-tolerance and anti-jamming design good
- 2022-12-20 04:10:04下载
- 积分:1
-
单片机正弦信号产生中改变正弦消耗频率时仍然保持采样频率的算法...
单片机正弦信号产生中改变正弦消耗频率时仍然保持采样频率的算法-SCM sinusoidal signal to change consumption frequency sinusoidal remained sampling frequency algorithm
- 2022-03-04 22:05:54下载
- 积分:1
-
在keil c51 环境下开发时钟秒表源代码
在keil c51 环境下开发时钟秒表源代码-Keil c51 environment in the development of a stopwatch clock source code
- 2022-11-27 16:25:03下载
- 积分:1
-
a high
一个有关高速单片机c8051f040控制步进电机的实例,希望对大家有所帮助-a high-speed microcontroller c8051f040 the stepper motor control examples, and I hope to help everyone
- 2022-02-10 10:49:35下载
- 积分:1
-
MSP430常用的程序源代码,很全的,一定适合你(初学者)!
MSP430常用的程序源代码,很全的,一定适合你(初学者)!-MSP430 common source code, is full of, for you (beginners)!
- 2023-08-25 16:10:03下载
- 积分:1
-
单片机视频教程,大学本科计算机专业的必修课,介绍单片机原理…
单片机视频教程,大学本科计算机专业必修,主要介绍单片机原理,接口,结构-SCM video guide, a college computer professional compulsory, introduced SCM principles and interface structure
- 2022-03-02 18:30:59下载
- 积分:1
-
1602液晶显示程序,51用的开发程序,适合大部分1602液晶,开发东西时稍加改动就可以用。...
1602液晶显示程序,51用的开发程序,适合大部分1602液晶,开发东西时稍加改动就可以用。-1602display
- 2023-01-12 09:35:04下载
- 积分:1
-
用SD模式读SD卡的代码,写功能尚未实现,希望能给您一点帮助!
用SD模式读SD卡的代码,写功能尚未实现,希望能给您一点帮助!-SD mode with SD card code reading and writing function has not yet been achieved, I hope to give you a little help!
- 2022-03-18 23:56:46下载
- 积分:1
-
320*240液晶 用SEED1335控制的驱动
320*240液晶 用SEED1335控制的驱动-320* 240 LCD driver control with SEED1335
- 2022-01-26 04:25:29下载
- 积分:1