搜索资源列表
Sources
- 本文件基于飞思卡尔XS128单片机编写的蓝牙串口通讯及利用IO口进行传感器脉冲计数程序-This document is based on Freescale' s XS128 single-chip Bluetooth serial communication and the preparation of the IO port to sensor using pulse counting procedures
YCMoter
- 利用IO口直接控制摇床电机,对IO口所发脉冲进行计数,达到摇床电机所需控制。-IO ports using the direct control of shaker motor, issued on the IO port to count pulses to achieve the required shaker motor control.
Test-preparation-programs
- 1.试编写程序:INT0外部中断。P1口接8个LED,4个为一组,交替亮灭,当INT0出现低脉冲,响应中断,显示流水灯效果。 2.试编写程序:T0计数中断。P1口接8个LED,4个为一组,交替亮灭,当T0计数3次,响应中断,显示流水灯效果。 3.试编写程序: T0定时中断。P1口接8个LED,4个为一组,交替亮灭,当T0定时器定时3秒中断,显示流水灯效果。 -1. Test preparation programs: INT0 external interrupt. P1 port
low-pulse-triggered
- 在方式2计数期间,OUT端为高,当减到0,OUT端输出低脉冲。本实验用此低脉冲触发微控制器的中断。方式3是方波发生器方式,计数值N为偶数时,输出为对称方波,前N/2期间,OUT输出为高,后N/2期间,OUT为低。本实验中,时钟CLK信号由ALE接入,设Q0为输出频率,Q1为ALE频率,则:计算初值=Q1/Q0.-During the counting mode 2, OUT terminal is high, when reduced to 0, OUT-ended output low pul
Use-the-STM32-timer-
- 使用STM32的定时器进行输入脉冲的计数代码-Use the STM32 timer carries on the count of input pulses code
xs128-capture
- 飞思卡尔xs128 capture ;两路编码器脉冲计数例程-Freescale xs128 capture two encoder pulse counting routines
DMA
- Kintes 60 MDA 脉冲计数 飞思卡尔公司出品-Kintes 60 MDA pulse count
Design2
- 51单片机实现脉冲计数,通过控制中断源来实现脉冲的加减技术-51 MCU pulse count is achieved by controlling the source of the interrupt pulse subtraction technique
CAPTURE
- PIC单片机的CCP功能 //220V的交流电源直接用电阻限流,经光耦隔离,形成脉冲送到CCP2, //CCP2模块的捕捉功能,设置为每16个上升沿捕捉一次,相当于平均滤波,目的是为了减小误差 //TMR1计数的分频系数计算:假设电源为50Hz,即一个周期为20ms,16个周期为320ms //320ms=320000us,单片机用4MHz晶振,指令周期为1us,设TMR1的分频系数为K:65536×K=320000 //得K=4.88,取K=8,即TMR1的预分频系数设为1
InputCapture_4F120
- 在边缘时间模式下使用Timer0A要求中断的上升边缘PB0(CCP0),并且计数脉冲。 外部信号连接到PB6(T0CCP0)(上升沿触发)-Use Timer0A in edge time mode to request interrupts on the rising edge of PB0 (CCP0), and count the pulses. external signal connected to PB6 (T0CCP0) (trigger on rising e
Timer_Callback
- ADI芯片CM403、CM408的片上Timer例程,包括相关寄存器的设置,可应用于脉冲接收计数,时钟计数等,有意向使用此类芯片的朋友可以借鉴一下;-ADI chip CM403, CM408 chip on the Timer routines, including the relevant register settings, can be applied to the pulse receiver count, clock count, etc., are intended to use
pulse
- 利用LPC2368实现外部脉冲计数,可用于测量电机转速-External pulse count based on LPC2368,can be used to measure the motor speed
chengxu
- 功能为NE555脉冲计数,通过LCD1602显示接收到的脉冲频率,程序中配置定时/计数器T0和T1-Function for the NE555 pulse count, through the LCD1602 display to receive the pulse frequency, the program configuration timer/counter T0 and T1