-
基于KeilC的I2C总线实际应用子程序,已作过多个项目
基于KeilC的I2C总线实际应用子程序,已作过多个项目-Based on the I2C bus KeilC practical application subroutines, has made a number of projects
- 2022-02-04 01:36:01下载
- 积分:1
-
MEGA16 serial send and receive data, using interrupt mode, give you a reference
MEGA16 串口收发数据,采用中断方式,给大家一个参考-MEGA16 serial send and receive data, using interrupt mode, give you a reference
- 2022-06-03 09:26:57下载
- 积分:1
-
MCS
MCS-51单片机有5个中断源,其中两个是由-INT0、-INT1引脚输入的外部中断源;另外三个是内部中断源即由T0、T1的溢出引起中断和串行口发送完一个字节或接收到一个字节数据引起中断。触发外部中断有两种方式,即下降沿引起中断或低电平引起中断。当编程TCON中的ITi(i=0、1)为1时,则引起触发的方式为边沿触发方式,反之(ITi=0)为低电平触发方式。每个中断源的中断请求能否得到响应要受两级“开关”的控制,即一个总“开关”-MCS-51 single-chip has five interrupt sources, two of which are by-INT0,-INT1 pin input external interrupt source the other three internal interrupt sources from the T0, T1 overflow caused by the disruption and serial port sending or receiving end of a byte to a byte of data caused by interruption. Triggered external interrupt has two modes, namely, falling edge or low-level disruption caused disruption caused. When programming TCON in ITi (i = 0,1) for the 1:00 has been the subject of a way to trigger the way to the edge of the trigger, on the contrary (ITi = 0) for low-level trigger mode. Each interrupt source interrupt request can be subject to levels in response to
- 2023-07-06 00:00:03下载
- 积分:1
-
LT_1B msp430开发板例子程序-TA_6
LT_1B msp430开发板例子程序-TA_6
- 2022-10-22 12:05:03下载
- 积分:1
-
NOKIA手机屏3310驱动,完成了显示图形,汉字字符,浮点型数据,英文字符串函数,可直接调用....
NOKIA手机屏3310驱动,完成了显示图形,汉字字符,浮点型数据,英文字符串函数,可直接调用.-NOKIA mobile phone 3310 driver screen to complete the display graphics, Chinese characters, floating-point data, the English string functions can be called directly.
- 2022-03-24 08:12:10下载
- 积分:1
-
51汇编用户手册中文版,讲解51汇编指令和应用。
51汇编用户手册中文版,讲解51汇编指令和应用。-compilation of 51 Chinese version of a user manual, on 51 compilation instructions and applications.
- 2022-03-19 04:51:31下载
- 积分:1
-
基于MAX6675的温度测试及在液晶显示程序
基于MAX6675的温度测试及在液晶显示程序
-MAX6675 temperature-based testing and procedures in the liquid crystal display
- 2022-06-14 19:37:56下载
- 积分:1
-
NE5532+ TDA2030 Schematic and PCB
NE5532+TDA2030 原理图及PCB-NE5532+ TDA2030 Schematic and PCB
- 2022-02-21 23:08:38下载
- 积分: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
-
4位LED共阳数码动态显示的C51源程序.rar
4位LED共阳数码动态显示的C51源程序.rar-a total of four LED digital yang dynamic display of the C51 source. Rar
- 2022-10-02 20:05:03下载
- 积分:1