-
时钟日历芯片PCF8584的C51源程序,转载自于磁动力电子网
时钟日历芯片PCF8584的C51源程序,转载自于磁动力电子网-calendar clock chip PCF8584 source of C51, reproduced from the magnetic force on electronic network
- 2022-01-31 06:39:28下载
- 积分: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
-
如何在使用双数据指针我的语言在语言的硬件条件允许。
如何在硬件条件允许的情况下在C语言中使用双数据指针提高程序的执行效率,文章还给出了例子程序.-How to hardware conditions permit in the C language using a dual data pointers improve efficiency in the implementation process, the article also gives examples of the procedure.
- 2022-05-09 09:22:05下载
- 积分:1
-
广告机源程序,可以实现任意字的显示,可以是汉字或字母
广告机源程序,可以实现任意字的显示,可以是汉字或字母-advertising source machine can achieve arbitrary character, or Chinese characters can be letters
- 2023-03-25 13:55:03下载
- 积分:1
-
BQ2060 充电监控芯片程序 IIC读写
BQ2060 充电监控芯片程序 IIC读写-BQ2060 Charge Monitor Chip
- 2022-02-16 02:42:26下载
- 积分:1
-
该实验是在“点到点无线通信实验”的基础上进行开发,节点A 作为发射模块,节点B
作为射频休眠实验的对象,PC 通过串口下达休眠和唤醒的指令给节点B,来实现对...
该实验是在“点到点无线通信实验”的基础上进行开发,节点A 作为发射模块,节点B
作为射频休眠实验的对象,PC 通过串口下达休眠和唤醒的指令给节点B,来实现对射频部
件的唤醒和休眠功能。串口的设置为波特率115200b/s,8 位数据位,1 位停止位,无校验位。-The experiment in the " point to point wireless communications experiment" based on the development and launch of the module as a node A, node B as a test object dormant radio frequency, PC through the serial port sleep and wake-up instructions issued to the Node B, to achieve the right wake-up radio frequency components and the hibernation feature. Serial port baud rate is set to 115200b/s, 8 bits of data bits, 1 stop bit, no parity bit.
- 2022-03-03 01:20:43下载
- 积分:1
-
根据示波器的原理最做的代存储和显示的简易装置
根据示波器的原理最做的代存储和显示的简易装置-oscilloscope under the principle of doing the most generation storage and display of simple devices
- 2023-09-03 08:50:04下载
- 积分:1
-
研华PCL841 CAN总线通信程序例程,1Mbps双CAN通信
研华PCL841 CAN总线通信程序例程,1Mbps双CAN通信-Advantech PCL841 CAN bus communication procedures routines, 1Mbps-CAN communication
- 2022-03-19 00:22:23下载
- 积分:1
-
Telephone the working principle, has ringing circuit, Phone polarity protection...
电话机的工作原理,有振铃电路,电话极性保护电路,还有双音多频发送接收电路-Telephone the working principle, has ringing circuit, Phone polarity protection circuit, as well as send DTMF receiver circuit
- 2022-08-16 16:52:52下载
- 积分:1
-
MSP430x11x1 Series Single
MSP430x11x1系列单片机示例汇编源代码-MSP430x11x1 Series Single-chip sample source code compilation
- 2022-09-13 16:00:03下载
- 积分:1