-
红外遥控接收
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
-
磁条卡读取代码,使用M2200进行开发的。
稳定,已经经过测试...
磁条卡读取代码,使用M2200进行开发的。
稳定,已经经过测试-Magnetic stripe card reader code, the use of the M2200 developed. Stability, has been tested
- 2023-01-08 23:30:02下载
- 积分:1
-
PC keyboard connected to the AVR C language source code. PS/2 keyboard connected...
PC键盘与AVR单片机连接的C语言源程序.PS/2键盘与AVR的连接程序。-PC keyboard connected to the AVR C language source code. PS/2 keyboard connected to the AVR and procedures.
- 2022-06-18 01:17:10下载
- 积分:1
-
使用软件仿真usb接口的一个程序,十分精炼,要求计算每一个指令的运行时间,很值得品味...
使用软件仿真usb接口的一个程序,十分精炼,要求计算每一个指令的运行时间,很值得品味-use software simulation usb interface of a procedure is very refined, request instructions for each one of the running time, is worth taste
- 2022-01-28 19:06:49下载
- 积分:1
-
C51单片机学习的程序和教程,同学们看后很快能入门
C51单片机学习的程序和教程,同学们看后很快能入门-C51 single-chip learning process and curriculum, students will soon be able to look after the entry
- 2022-02-27 02:24:36下载
- 积分:1
-
我/输出端口控制实例的广告。rar
ADS的I/O口控制LED灯例子.rar-ADS of the I/O port control examples of LED lights. Rar
- 2022-07-15 05:57:09下载
- 积分:1
-
HT1621 is a 128
HT1621 是一款128 个位元的LCD 控制器件,内部RAM 直接对应LCD 的显示单元。相应的软件使它适用于包括LCD 模块和显示子系统在内的多功能应用。主控制器与HT1621接口只需4 到5 根线。内置的省电模式极大的降低了功耗。本文介绍HT48R05A-1 单片机来控制HT1621,并介绍如何turn ON 及turn OFF LCD 所有位元。-HT1621 is a 128-bit LCD control device, the internal RAM directly correspond to the LCD display unit. So that it applies to the appropriate software, including LCD modules and display sub-systems, including multi-purpose applications. Master controller and the HT1621 interface only 4-5 lines. Built-in power-saving mode greatly reduce power consumption. This article describes the HT48R05A-1 microcomputer to control the HT1621, and describes how to turn ON and turn OFF LCD all the bits.
- 2022-03-14 07:37:57下载
- 积分:1
-
51的参考程序,针对初学者参考使用,了解51很有帮助
51的参考程序,针对初学者参考使用,了解51很有帮助-51, reference procedures, reference for beginners to use, very helpful to understand 51
- 2022-01-24 17:58:16下载
- 积分:1
-
实现电机的速度控制,能够显示在LCD1602上,希望大家参考!
实现电机的速度控制,能够显示在LCD1602上,希望大家参考!
- 2023-07-15 22:40:03下载
- 积分:1
-
一种基于KA3525的单片机辅助PWM控制电源电路,设计了一种基于该电流型PWM控制芯片、单片机辅助、实现输出电压可调的稳压电源电路...
一种基于KA3525的单片机辅助PWM控制电源电路,设计了一种基于该电流型PWM控制芯片、单片机辅助、实现输出电压可调的稳压电源电路-KA3525-based PWM control of single-chip auxiliary power circuit design based on the current-mode PWM control chip, single-chip support, to achieve an output voltage adjustable regulated power supply circuit
- 2023-02-01 16:35:03下载
- 积分:1