-
红外遥控接收
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
-
12F629源的信号发生器,非常详细,使用PIC的朋友们参考。
一款12F629的信号发生器的源程序,非常详细,对用PIC的朋友有帮助-12F629 a source of the signal generator, very detailed, using PIC friends have to help
- 2022-05-22 05:17:55下载
- 积分:1
-
RS232 single
RS232单片机程序,使用中断与电脑进行数据传输-RS232 single-chip, the use of interrupted data transmission and computer
- 2022-01-25 21:05:49下载
- 积分:1
-
已经条通的程序,一个液晶驱动显示汉字核图片
已经条通的程序,一个液晶驱动显示汉字核图片-have been of general procedure, a liquid crystal display Chinese characters driven nuclear Photo
- 2022-03-05 00:35:16下载
- 积分:1
-
这是一个8051
这是一个基于 8051 的图形化GUI栈,好好用 占用资源很少-This is a 8051-based graphical GUI stack, good with small footprint
- 2022-04-22 00:58:26下载
- 积分:1
-
单片机下CRC7校验码生成程序,主要用于生成MMC卡命令的CRC7校验码。...
单片机下CRC7校验码生成程序,主要用于生成MMC卡命令的CRC7校验码。-Microcontroller CRC7 correcting code generation process, mainly used to produce MMC card orders CRC7 correcting code.
- 2022-06-13 11:32:00下载
- 积分:1
-
可用于PIC单片试验用,12M晶振,形成10毫秒中断
第一次上传东西,试试看,...
可用于PIC单片试验用,12M晶振,形成10毫秒中断
第一次上传东西,试试看,-PIC chip can be used to test, 12M crystal, the formation of the first 10 ms interruption upload things, give it a try,
- 2022-08-10 11:27:50下载
- 积分:1
-
控制电机运动的G代码程序,如果对G代码不清楚,请先看懂G代码,然后再看本程序....
控制电机运动的G代码程序,如果对G代码不清楚,请先看懂G代码,然后再看本程序.-Control motor movement, G code program, if the G code is not clear, please understand G code, and then look at the procedures.
- 2023-09-08 17:15:03下载
- 积分:1
-
能抓取soso网站歌曲的信息,包括歌名,专辑,歌手等
能抓取soso网站歌曲的信息,包括歌名,专辑,歌手等-Able to crawl sites soso songs, including title, album, singers, etc.
- 2022-12-04 17:35:02下载
- 积分:1
-
AVR单片机的TWI(IIC)总线功能驱动函数库,可直接调用本函数库驱动24C08等IIC器件。...
AVR单片机的TWI(IIC)总线功能驱动函数库,可直接调用本函数库驱动24C08等IIC器件。-AVR microcontroller TWI (IIC) bus function driver functions can directly call this function, database-driven 24C08 devices such as IIC.
- 2023-04-29 12:35:03下载
- 积分:1