-
红外遥控接收
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
-
Detailed introduction of the MSP430 MCU c language programming, there are many e...
详细的介绍了msp430单片机的c语言编程,有很多例子。-Detailed introduction of the MSP430 MCU c language programming, there are many examples.
- 2022-01-21 17:40:30下载
- 积分:1
-
MSP430F413C.ZIP可作为MSP430单片机软件编程的学习参考
MSP430F413C.ZIP可作为MSP430单片机软件编程的学习参考-MSP430F413C.ZIP can be used as single-chip MSP430 software programming reference learning
- 2022-12-15 08:35:03下载
- 积分:1
-
uip源代码(for 8/16位单片机)
uip源代码(for 8/16位单片机)-East source code (for 8/16-bit microcontroller)
- 2022-04-28 23:32:32下载
- 积分:1
-
此C语言程序实现串行接口电压输出型D/A转换器MX532的控制。
此C语言程序实现串行接口电压输出型D/A转换器MX532的控制。-This C language program serial interface voltage output type D/A converter MX532 control.
- 2022-01-25 18:27:13下载
- 积分:1
-
LT_1B msp430开发板例子程序-UART_U24
LT_1B msp430开发板例子程序-UART_U24-LT_1B msp430开发板例子程序-UART_U2400
- 2022-05-24 23:05:16下载
- 积分:1
-
DHT11数据表
DHT11温湿度传感器的c51源码及数据手册-dht11 datasheet
- 2022-03-14 01:46:29下载
- 积分:1
-
LIN协议的实现。用状态机实现。baudrate可调整,只能做slave。
LIN协议的实现。用状态机实现。baudrate可调整,只能做slave。-SCI communication on 68hc9s08dz60
it is not a simple sending & receiving process, utilizes a state machine
- 2022-01-25 14:10:47下载
- 积分:1
-
msp430 it s my code!please read it,thank you!
msp430 it s my code!please read it,thank you!
- 2022-02-07 05:42:02下载
- 积分:1
-
AVR单片机解码普通PC键盘码值,解码后通过串口发送到电脑上显示...
AVR单片机解码普通PC键盘码值,解码后通过串口发送到电脑上显示-tiao shi tong guo
- 2023-03-17 01:40:04下载
- 积分:1