-
红外遥控接收
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
-
基于MSP430的液压测控器的设计
基于MSP430的液压测控器的设计 -基于MSP430的液压测控器的设计基于MSP430的液压测控器的设计
- 2022-05-27 12:29:22下载
- 积分:1
-
err
通讯规则:
1:时钟7.3728 MHz/波特率9600/9个数据位/奇校验/1个停止位/硬件多机通讯功能/
2:通讯连接采用硬件MAX485,双向单工
3:每个上行/下行的数据包的字节个数都是一样的(通讯数据量)
4:每个上行/下行的数据包都采用CRC8校验
5:数据接收采用中断+查询的方式
6:总是由主机向从机发送一个数据包,从机收到数据包后向主机回复一个数据包
7:不管是主机还是从机,如果收到的数据包有任何错误,都将丢弃该数据包,等效于没有接收
8:从机之间不能相互通讯,必须通过主机才能交换数据
9:无效地址是0,主机地址是1,从机地址是2.3.4......广播地址是255 -err
- 2023-04-26 20:15:03下载
- 积分:1
-
Freescale MCU serial communications, data packets, sends the data to support nor...
freescale单片机串行通讯程序,数据包方式,支持数据发送正常检验,并可使用命令实现对片机FLASH的读、写和擦除功能。-Freescale MCU serial communications, data packets, sends the data to support normal testing and can be used to achieve an order-of-FLASH read, write and erase functions.
- 2022-08-10 04:44:43下载
- 积分:1
-
1602液晶屏的使用说明手册,很实用哦,对于使用VHDL编写液晶屏驱动具有参考价值。...
1602液晶屏的使用说明手册,很实用哦,对于使用VHDL编写液晶屏驱动具有参考价值。-1602 LCD screen use the instruction manual, it is practical Oh, for the use of VHDL LCD driver with the preparation of reference value.
- 2022-03-07 13:58:51下载
- 积分:1
-
STC89 Series MCU with generic IO simulation SPI communication FOSS
用STC89系列单片机的通用IO模拟SPI通信源码-STC89 Series MCU with generic IO simulation SPI communication FOSS
- 2022-07-25 23:29:44下载
- 积分:1
-
该书收录大量Hspice应用实例,相信看完对大学有很大帮助!
该书收录大量Hspice应用实例,相信看完对大学有很大帮助!-This book is written by a designer who has worked in IC for 10 yeas.It is very helpful!
- 2022-05-15 04:43:40下载
- 积分:1
-
无线传感器网络操作系统源代码,C版本0.6
无线传感器网络操作系统源代码,C版本0.6- Wireless sensor network operating system source code, C edition
0.6
- 2022-11-09 10:30:04下载
- 积分:1
-
8051设计延时程序说明。
8051设计延时程序说明。-8051 design description of the procedures.
- 2022-01-28 19:25:09下载
- 积分:1
-
it can be used to learn programing for 51
it can be used to learn programing for 51
- 2022-06-15 20:52:38下载
- 积分:1