-
单片机智能产品c语言设计实例详解程序,希望能对大家有用!...
单片机智能产品c语言设计实例详解程序,希望能对大家有用!-Single Chip Smart Products c language design example explain the procedure, hoping to be useful for everyone!
- 2022-03-10 04:52:36下载
- 积分:1
-
犯错
红外解码程序主要工作为等待红外线信号出现,并跳过引导信号,开始收集连续32位的表面数据,存入内存的连续空间。位信号解码的原则是:以判断各个位的波宽信号来决定高低信号。位解码原理如下:
解码为0:低电平的宽度0.56ms+高电平的宽度0.56ms。
解码为1:低电平的宽度1.68ms+高电平的宽度0.56ms。
程序中必须设计一精确的0.1ms延时时间作为基础时间,以计数实际的波形宽度,若读值为5表示波形宽度为0.5ms,若读值为16表示波形宽度为1.6ms,以此类推。高电平的宽度1.12ms为固定,因此可以直接判断低电平的宽度的计数值5或时16,来确定编码为0或是1。程序中可以减法指令SUBB来完成判断,指令“SUBB A,R2”中若R2为计数值,A寄存器设为8,就可如下:
当“8-R2”有产生借位,借位标志C=1,表示编码为1。
当“8-R2”无产生借位,借位标志C=0,表示编码为0。
将借位标志C经过右移指令“RRC A”转入A寄存器中,再经由R0寄存器间接寻址存入内存中。
-err
- 2022-08-22 12:44:29下载
- 积分:1
-
nRF2401快速开发系统相关的帮助文档。
nRF2401快速开发系统相关的帮助文档。-nRF2401 rapid development of systems related to the help document.
- 2022-02-21 19:17:21下载
- 积分:1
-
本程序是点对点通信程序,实现双机或多机通信.
本程序是点对点通信程序,实现双机或多机通信.-This procedure is a point-to-point communication program, the realization of two-plane or multi-machine communication.
- 2022-02-15 03:28:09下载
- 积分:1
-
drive using serial digital display shows each from 0 to F, to eliminate cycle, a...
利用串行驱动数码显示每位从0显示到F,到灭循环显示,要求1秒更新一次。-drive using serial digital display shows each from 0 to F, to eliminate cycle, a request updated seconds.
- 2022-07-05 14:01:36下载
- 积分:1
-
AVR单片机浮点数、串口波特率、定时器参数计算器,很不错的小软件!...
AVR单片机浮点数、串口波特率、定时器参数计算器,很不错的小软件!-AVR microcontroller floating-point, serial baud rate, timer parameter calculators, a very nice small piece of software!
- 2022-02-05 17:58:53下载
- 积分:1
-
LPC2106为PROTEUS仿真程序,keil UVIS编译环境…
用于Proteus仿真的LPC2106程序,编译环境为Keil uvision 3-LPC2106 for Proteus simulation procedures, the compiler environment of Keil uvision 3
- 2022-05-31 21:32:13下载
- 积分:1
-
Marquee plus delay a routine procedure. . . . . . . . . . . . . . . . .
蛇形跑马灯加延时一般的程序-Marquee plus delay a routine procedure. . . . . . . . . . . . . . . . .
- 2023-04-29 10:55:04下载
- 积分:1
-
TFT9320的驱动程序,可以使用在不同的平台中
TFT9320的驱动程序,可以使用在不同的平台中-TFT9320 driver, you can use in different platforms
- 2023-01-10 01:55:03下载
- 积分:1
-
This is the
这是《C8051F系列单片机开发与C语言编程》
配套的源代码-This is the
- 2022-02-06 00:47:55下载
- 积分:1