登录
首页 » Asm » timer

timer

于 2011-04-04 发布 文件大小:12KB
0 174
下载积分: 1 下载次数: 0

代码说明:

说明:  学习如何使用87x单片机的定时器,计数器(Learn how to use 87x microcontroller timers, counters)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • V5-805_uCOS-II实验_消息队列
    ucoss系统的消息队列,应用于stm32。亲测可用。(The message queue of ucoss system is applied to stm32. The pro-test is available.)
    2020-06-17 03:40:02下载
    积分:1
  • 16f877-keyboard
    资料单片机的许多应用都需要进行人机对话,最简单的人机对话需要LED 数码管显示数 字和少量字符;键盘是解决计算机输入的简单手段;借此可以向计算机输入程序、置数、 送操作命令、控制程序的执行等等,所以使用非常广泛。(ziliao)
    2010-05-19 12:08:08下载
    积分:1
  • RT-Thread常见函数
    RTT常见函数,可以清楚的了解RTT的调用关系,非常实用(RTT common function, can clearly understand the calling relationship of RTT, very practical)
    2018-02-01 11:24:41下载
    积分:1
  • dsPIC_Advprog_Answer
    I/O口流水灯功能实验 MCU内部EEPROM读写实验LCD(16*2)液晶显示应用实验 2.1 实验目的 1. 对单片机有初步感性认识。 2. 通过对I/O口相关寄存器的设置,能够熟练的操作单片机的I/O口。 2.2 实验环境 软件环境 MPLAB IDE v8.30 硬件环境 APP009-dsPIC40-28P PIC单片机、ICD2调试器 (I/O port function of experimental water MCU internal EEPROM light to read and write experimental LCD (16* 2) liquid crystal display applications the purpose of experiment 2.1 Experiment 1. On the MCU and preliminary perceptual knowledge. 2. Through the I/O port settings related registers, the microcontroller can operate skilled I/O port. 2.2 Experimental Environment Software Environment MPLAB IDE v8.30 hardware environment APP009-dsPIC40-28P PIC microcontroller, ICD2 debugger)
    2011-05-16 11:24:51下载
    积分:1
  • transmitter-module-
    发射端程序 单片机STC15L204EA 发射模块NRF24L01(NRF24L01 transmitter module STC15L204EA)
    2015-11-27 14:17:11下载
    积分:1
  • file3_ok
    stm32f107vc 读写ch375扇区,在电路板上测试通过(stm32f107vc read and write ch375)
    2012-09-08 20:22:09下载
    积分:1
  • 200711-0054-05
    TMS28335初始化完成之后, 1、 先DDS产生73.35hz的方波。(问流量管固定频率) 2、 乘法器的另一个数字端输入乘数直接给一个固定值(按照5v),系数是固定的就是对应PID输出的那个接口,串行十二位信号输出(需要先定好一个GPIO接口)。 3、 再延迟一定的时间0.1s或其他时间之后,开始ad采集信号,分别采两路AD信号,此时不稳定(为什么要等到一定的幅值才开始采集AD信号) 4、 选择250点估计一个频率,频率估计的方法采用计算峰值次数的方法或者过零点,总之是为了保证精度采用时域估计的算法,这一块主要是一个扫频子程序,计算频率共振点。 5、 之后改变DDS的输出频率,循环对512点的数据进行扫频的处理 6、 频率控制完成之后,就可以缓慢降低PID控制输出的参数,此时暂时不计算频率,通过不断调整系数使AB的幅度保持在1 的范围内。 7、 测试幅度控制稳定之后a、采用幅度和频率同时控制b。采集数据进入频率估计和相位差估计的后续程序的大循环 8、 注意:采样和控制是同时进行的,所以要设置中断,以及看懂AD的程序,以及内部存储以及数据处理资源的分配。 (TMS28335 initialization is complete, 1, the first DDS generated square wave of 73.35hz. (Q flow tube fixed frequency) 2, another digital side of the multiplier input multiplier directly to a fixed value (in accordance with 5v), the coefficient is fixed corresponding PID output interface, serial twelve signal output (need to be a good one GPIO interface). 3, and then after a certain time delay 0.1s or other time, ad signal acquisition were collected two AD signal instability (Why wait until a certain amplitude began collecting AD signal) 4, 250 point estimate a frequency, frequency estimation method using the method of calculation of the number of peak or zero crossing, in short, in order to ensure the accuracy of time-domain estimation algorithm, this piece is a sweep subroutine to calculate the frequency resonance point. 5, after the change of the output frequency of the DDS data of 512 points, the loop processing Sweep 6, after the completion of the frequency control, it can sl)
    2013-04-07 15:03:14下载
    积分:1
  • 最新器人
    舵机控制,STC单片机控制,先已通过测试!程序稳定可靠(Servo control, STC microcontroller control, first passed the test! The program is stable and reliable)
    2017-09-24 13:25:17下载
    积分:1
  • 测试C51程序
    说明:  51网站上下载的利用蓝牙控制小车和舵机的程序,可实现蓝牙控制舵机(The program downloaded from website 51 that uses Bluetooth to control the car can realize Bluetooth to control the car.)
    2020-06-20 23:00:01下载
    积分:1
  • sensor
    仅使用一个热敏电阻和一个10K电阻、104电容,在MSP430上实现的精度可达0.1度的温度测量代码。(Only using a thermistor and a 10K resistor, capacitor 104, temperature measurement code achieved accuracy up to 0.1 degree on the MSP430 .)
    2013-12-17 08:16:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载