虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

函数式

  • C语言函数大全

    基本的函数都有

    标签: C语言 函数

    上传时间: 2013-10-25

    上传用户:13736136189

  • 指针式与数字式万用表各有优缺点

    指针式与数字式万用表的优缺点

    标签: 指针式 万用表 数字式

    上传时间: 2013-11-14

    上传用户:packlj

  • 89c51单片改造传统接触器式自动控制的小型注塑机程序

    89c51单片改造传统接触器式自动控制的小型注塑机程序

    标签: 89c51 接触器 自动控制 注塑机

    上传时间: 2013-10-16

    上传用户:小枫残月

  • Keil C51库函数参考

      第五章 Keil C51库函数参考   C51强大功能及其高效率的重要体现之一在于其丰富的可直接调用的库函数,多使用库函数使程序代码简单,结构清晰,易于调试和维护,下面介绍C51的库函数系统。   1. 第一节 本征库函数(intrinsic routines)和非本征证库函数   C51提供的本征函数是指编译时直接将固定的代码插入当前行,而不是用ACALL和LCALL语句来实现,这样就大大提供了函数访问的效率,而非本征函数则必须由ACALL及LCALL调用。   C51的本征库函数只有9个,数目虽少,但都非常有用,列如下:   _crol_,_cror_:将char型变量循环向左(右)移动指定位数后返回   _iror_,_irol_:将int型变量循环向左(右)移动指定位数后返回   _lrol_,_lror_:将long型变量循环向左(右)移动指定位数后返回   _nop_: 相当于插入NOP   _testbit_: 相当于JBC bitvar测试该位变量并跳转同时清除。   _chkfloat_: 测试并返回源点数状态。   使用时,必须包含#inclucle 一行。   如不说明,下面谈到的库函数均指非本征库函数  

    标签: Keil C51 库函数

    上传时间: 2013-10-19

    上传用户:1184599859

  • 51单片机增量式PID控制算法

    当执行机构需要的不是控制量的绝对值,而是控制量的增量(例如去驱动 步进电动机)时,需要用PID的“增量算法”。 增量式PID控制算法可以通过(2-4)式推导出。由(2-4)可以得到控制器 的第k-1个采样时刻的输出值为:

    标签: PID 51单片机 增量式 控制算法

    上传时间: 2013-10-11

    上传用户:waizhang

  • AVR常用库函数介绍

    目录: 1. Character Type Functions - 字符类型函数 2. Standard C Input/Output Functions - 标准输入输出函数 3. Standard Library Functions - 标准库和内存分配函数 4. Mathematical Functions - 数学函数 5. String Functions - 字符串函数 6. BCD Conversion Functions - BCD 转换函数 7. Memory Access Functions - 存储器访问函数 8. Delay Functions - 延时函数 9. LCD Functions - LCD函数 10. LCD Functions for displays with 4x40 characters - 4×40 字符型LCD函数 11. LCD Functions for displays connected in 8 bit memory mapped mode -以8 位外部存储 器模式接口的LCD显示函数 12. I2C Bus Functions - I2C 总线函数 13. National Semiconductor LM75 Temperature Sensor Functions - LM75 温度传感器函数 14. Dallas Semiconductor DS1621 Thermometer/Thermostat Functions - DS1621 温度计函 数 15. Philips PCF8563 Real Time Clock Functions - PCF8563 实时时钟函数 16. Philips PCF8583 Real Time Clock Functions - PCF8583 实时时钟函数 17. Dallas Semiconductor DS1302 Real Time Clock Functions - DS1302 实时时钟函数 18. Dallas Semiconductor DS1307 Real Time Clock Functions - DS1307 实时时钟函数 19. 1 Wire Protocol Functions - 单线通讯协议函数 20. Dallas Semiconductor DS1820/DS1822 Temperature Sensors Functions - DS1820/1822 温度传感器函数 21. SPI Functions - SPI 函数 22. Power Management Functions - 电源管理函数 23. Gray Code Conversion Functions - 格雷码转换函数

    标签: AVR 库函数

    上传时间: 2013-10-22

    上传用户:归海惜雪

  • 基于MC9S12HZ256的总线式汽车数字仪表设计

    首先研究CAN总线和SAE J1939协议,提出一种基于MC9S12HZ256微控制器的总线式汽车数字仪表解决方案。详细介绍SAE J1939协议的报文帧格式及应用层协议中发动机相关参数的定义,以及步进电机及其驱动和车速信号的处理方法。该数字仪表系统硬件平台由微处理器和信号采集和信息处理及显示等模块组成。软件设计部分编程实现了对CAN总线和各传感器数据的读取、处理。该系统能够实时反映车辆工况。 Abstract:  In this paper,CAN bus and SAE J1939protocol are researched,and a vehicle digital instrument solution based on MC9S12HZ256MCU is proposed.The message frame format and some engine-related parameters’definition in SAE J1939application layer protocol are introduced in detail.Stepper motor and its driver,the methods of speed signal process-ing are also introduced.The hardware platform of vehicle digital instrument is composed by MCU,signal acquisition mod-ule,and signal processing and displaying module.Data receiving and processing from CAN bus and sensors are accom-plished by programming,and vehicle condition can be reflected in real-time.

    标签: 256 MC9 S12 MC

    上传时间: 2013-10-20

    上传用户:huannan88

  • PIC单片机在可编程数码式楼宇对讲系统中的应用

    摘要:本文介绍应用PIC16C57单片机设计的一种可编程、高性能的数码式楼宇对讲系统,详细阐明了有关工作原理和关键技术。本系统充分应用PIC单片机的软硬件资源,具有可编程、电路简单、功能强大等优点,在安居工程、楼宇技防系统等领域具有广泛的应用前景。 关键词:PIC 单片机  楼宇对讲   编码   译码  可编程

    标签: PIC 单片机 中的应用 可编程

    上传时间: 2013-11-14

    上传用户:hj_18

  • LS7266R1在电子式万能材料试验机中的应用

    针对材料试验机等设备中要求测量或控制材料拉伸或压缩的位移,一般采用光电轴角编码器检测位置信号,输出正交编码脉冲信号。若采用其他方法检测位置信号,必然导致电路设计复杂,可靠性降低。因此,提出一种基于LS7266R1的电子式万能材料试验机设计方案。给出了试验机中的控制器工作原理,LS7266R1与单片机的接口硬件设计,以及主程序软件流程图。巧妙地把力量传感器,位移传感器等机械运动状态的压力或拉力以及位置坐标,变成了电压信号和电脉冲数字信号,供A/D测量和LS7266R1计数,从而实现了独立完成材料试验控制或通过PC机串口命令完成材料试验控制。 Abstract:  Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.

    标签: 7266R 7266 LS R1

    上传时间: 2013-11-02

    上传用户:yl1140vista

  • 基于MSP430的自控式骨矫形器的设计与实现

    设计实现了一种基于MSP430系列超低功耗单片机的新型高精度自控式骨矫形器,介绍了系统的总体设计及硬件软件设计。试验表明,该骨矫形器可实现自控内固定、牵张、回缩及加压固定功能,且功耗低、操控简单、控制精度高、安全可靠。

    标签: MSP 430 自控 骨矫形

    上传时间: 2013-10-16

    上传用户:1427796291