-
16单片机AD转换一般有连续转换和中断转换两种,本程序采用中断的方法实现AD 转换...
16单片机AD转换一般有连续转换和中断转换两种,本程序采用中断的方法实现AD 转换-Single-chip AD converter 16 for conversion and there is a general disruption of the conversion of two, the procedure of the method used to achieve interruption of AD conversion
- 2022-03-02 17:39:30下载
- 积分:1
-
93C46 literacy procedure very well and we hope that the procedures together exch...
93C46读写程序 很不错的程序希望和大家一起交流-93C46 literacy procedure very well and we hope that the procedures together exchanges
- 2022-08-02 10:46:01下载
- 积分:1
-
一款性能稳定的DMX512液晶显示控制系统,包括标准的数据输出,多级的菜单显示,通道可以任意设置...
一款性能稳定的DMX512液晶显示控制系统,包括标准的数据输出,多级的菜单显示,通道可以任意设置-A stable performance of the LCD DMX512 control system, including standards for data output, multi-level menu display, the channel can be set up
- 2022-03-16 08:44:25下载
- 积分:1
-
- 2022-05-07 13:28:03下载
- 积分: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
-
给出一种利用单片机通用I/O 口扩展串行通信的方法.
给出一种利用单片机通用I/O 口扩展串行通信的方法.-Given a general-purpose use of single-chip I/O port expansion method of serial communication.
- 2023-04-30 14:00:03下载
- 积分:1
-
还不错的LCD点阵提取程序,提供一些基本图案.
还不错的LCD点阵提取程序,提供一些基本图案.-Dot matrix LCD is also good extraction procedures, to provide some basic patterns.
- 2022-08-21 11:46:14下载
- 积分:1
-
基于MCS
基于MCS-51单片机的1601LCD的初始化,及数据显示。-Based on MCS-51 microcontroller 1601LCD initialization, and data display.
- 2022-08-31 13:35:03下载
- 积分:1
-
通过调用3号方VC++类,实现遍历调制解调器名称,com P.
通过调用第3方的VC++类,实现具有遍历MODEM名字,COM口和初始化字符串等功能的一个实例-By calling the No. 3 party VC++ Category, achieving ergodicity MODEM name, COM port and initialization string functions such as an instance of
- 2022-07-26 13:25:46下载
- 积分:1
-
利用动态扫描和定时器1在数码管上显示
出从765432开始以1/10秒的速度往下递减
直至765398并保持显示此数,与此同时利
用定时器0以500...
利用动态扫描和定时器1在数码管上显示
出从765432开始以1/10秒的速度往下递减
直至765398并保持显示此数,与此同时利
用定时器0以500MS速度进行流水灯从上至
下移动,当数码管上数减到停止时,实验
板上流水灯也停止然后全部开始闪烁,3秒
后(用T0定时)流水灯全部关闭、数码管上
显示出"HELLO"。到此保持住。
设晶振频率为12MHz。-The use of dynamic scanning and Timer 1 in the digital control to show from the beginning of 765,432 to 1/10 seconds until the speed of descending down 765,398 and maintain display this number, at the same time the use of Timer 0 to 500ms the speed of light from the flowing water to Under the move, when reduced to a few digital tube stop, the experiment on-board water stop and then all the lights started to flicker, 3 seconds later (T0 regularly used) closed water lights, digital tubes show
- 2022-02-03 00:14:56下载
- 积分:1