-
红外遥控接收
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
-
该程序设计采用2051进行控制,原理比较简单.但是要完全调试成功比较麻烦!我自己已经调试差不多了,祝大家都可以掌握基本控制理论!...
该程序设计采用2051进行控制,原理比较简单.但是要完全调试成功比较麻烦!我自己已经调试差不多了,祝大家都可以掌握基本控制理论!-procedures designed using the 2051 control, principle is relatively simple. However, to successfully complete debugging more trouble! I have been debugging almost wish you could grasp the basic control theory!
- 2022-03-04 17:46:08下载
- 积分:1
-
这是DSP2407的RAM测试程序,含全部源码,调试通过,可运行.
这是DSP2407的RAM测试程序,含全部源码,调试通过,可运行.-This is the DSP2407 the RAM test procedures, including all source code, debugging is passed, can be run.
- 2023-08-06 12:40:03下载
- 积分:1
-
之前看过论坛上有一个C8051和S3530A的通信程序,但我认为很复杂而不具有通用性,我自己写的一个3530通过I2C总线与单片机的通信程序,虽然很短,但是很实...
之前看过论坛上有一个C8051和S3530A的通信程序,但我认为很复杂而不具有通用性,我自己写的一个3530通过I2C总线与单片机的通信程序,虽然很短,但是很实用.-Read before the forum have a C8051 and S3530A communications procedures, but I think very complex and not universal, and I wrote it myself a 3530 through the I2C bus communication with the SCM process, although very short, but very practical .
- 2022-05-26 04:30:50下载
- 积分:1
-
关于msp430单片机的一些
自己收集的一些有需要的请下载
关于msp430单片机的一些
自己收集的一些有需要的请下载-MSP430 MCU on some of his own collection of some of those in need, please download
- 2022-05-27 23:47:45下载
- 积分:1
-
ATMEGA128 introduced the use of the AD, in great detail, it is worth a cut, but...
介绍了ATMEGA128的AD使用,很详细,值得一砍,不过是E文的-ATMEGA128 introduced the use of the AD, in great detail, it is worth a cut, but the text is E.
- 2022-01-25 20:00:29下载
- 积分:1
-
Sokoban game code `51 Single
推箱子游戏代码`51单片机编程,加电路原理图-Sokoban game code `51 Single-chip programming, plus the circuit schematic diagram
- 2022-02-11 22:05:41下载
- 积分:1
-
12864液晶显示屏结合周立功7290按键显示的具体例子
12864液晶显示屏结合周立功7290按键显示的具体例子-12864 LCD button combination Week 7290 Ligong show concrete examples of
- 2022-09-06 01:10:03下载
- 积分:1
-
LCD 显示屏由三片控
制,每个内部带有6
(512字节) 的RAM
对应关系如右图所示
片选对应表:...
LCD 显示屏由三片控
制,每个内部带有6
(512字节) 的RAM
对应关系如右图所示
片选对应表:
- 2022-03-10 05:56:42下载
- 积分:1
-
A practical LED bar display procedures PHLIPS P89C51RD2 chip, LED display driver...
一个实用的LED条型显示屏程序,采用PHLIPS P89C51RD2芯片,LED显示驱动板为1/16分扫。本程序已经成功应用于多种场合-A practical LED bar display procedures PHLIPS P89C51RD2 chip, LED display driver board for 1/16 sweep. This procedure has been successfully applied to many occasions
- 2023-08-12 14:05:03下载
- 积分:1