-
need Sunplus IDE open, and c is a comprehensive compilation, learning Sunplus 16...
需要凌阳的IDE打开,是c和汇编的综合,学习凌阳16位单片机的基础题目-need Sunplus IDE open, and c is a comprehensive compilation, learning Sunplus 16 topics based MCU
- 2022-01-26 06:38:38下载
- 积分:1
-
实现stc单片机,两个单片机之间的SPI通讯。单主单从
实现stc单片机,两个单片机之间的SPI通讯。单主单从-Stc achieve single-chip, two single-chip communications between the SPI. Single-master single from
- 2022-01-22 17:20:27下载
- 积分: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
-
美的的一个吸尘器程序
美的的一个吸尘器程序 -The United States, a vacuum cleaner process
- 2022-12-11 16:10:04下载
- 积分:1
-
MSP430F149的DMA模块的程序,很好用
msp430F149 DMA模块程序,很好用-msp430F149 DMA module procedures, good use
- 2022-09-26 07:50:03下载
- 积分:1
-
A stepping motor driver program written by Keil C51.
用Keil C51写的步进电机驱动程序。-A stepping motor driver program written by Keil C51.
- 2022-01-31 20:35:25下载
- 积分:1
-
ICC error allehanda, for the use of ICC AVR development tools, the compiler erro...
ICC错误集锦,对于使用ICC AVR开发工具时,编译出错的整理,归纳了解决错误的方法。-ICC error allehanda, for the use of ICC AVR development tools, the compiler error collate, summarize the method for resolving the error.
- 2022-07-25 19:15:43下载
- 积分:1
-
利用单片机、HD7279、键盘,实现计时器、倒计时器。
利用单片机、HD7279、键盘,实现计时器、倒计时器。-The use of single-chip, HD7279, keyboard, realize the timer countdown device.
- 2022-10-13 16:40:03下载
- 积分:1
-
8051模拟器好工作
8051 SIMULATOR GOOD WORK
- 2022-01-30 23:32:33下载
- 积分:1
-
ad1242,转换程序,它是24位高精度的AD.它可以直接拱51单片机使用...
ad1242,转换程序,它是24位高精度的AD.它可以直接拱51单片机使用-ad1242, the conversion process, which is 24-bit high-precision AD. It can be used directly arch 51 Singlechip
- 2022-04-01 02:08:44下载
- 积分:1