-
WGBasicTest
说明: 门禁开发流程,通用流程解析,详细分析了小区门禁开发流程和思路等(Access control development process, general process analysis, train of thought analysis, etc.)
- 2020-06-22 02:40:01下载
- 积分:1
-
IIC-MPU6050
stm32f429 iic mpu6050 mdk环境(Stm32f429 IIC mpu6050 MDK environment)
- 2020-06-16 00:20:02下载
- 积分:1
-
手势遥控车资料包V1.2
说明: 通过不同的手势控制小车运动,实现小车的前进、后退、转弯等功能。(Through different gestures to control the movement of the car, the car can move forward, backward and turn.)
- 2020-06-19 10:20:01下载
- 积分:1
-
second
秒表程序,从0-60秒,有3个按键,启动,暂停,复位 带仿真和c51源码(second count program.It has three buttons.there are start pause,reset program. proteus and c51)
- 2016-11-26 22:08:53下载
- 积分:1
-
PCF8576-LCD
用keil编写的c文件,用来测试使用pcf7586的黑白液晶显示模组。(C file with keil prepared to test pcf7586 black and white liquid crystal display module.)
- 2013-05-11 12:43:58下载
- 积分:1
-
USB2
USB2.0原理与工程开发光盘 欢迎下载(The USB2.0 principles and engineering development of CD-ROM Download)
- 2012-05-29 17:15:15下载
- 积分:1
-
huibianban
按键控制LED灯的汇编程序,可实现按键控制LED灯的亮灭,主要是用汇编语言写的可以学习汇编(Button control keys to control LED lights LED lights LED light button control keys to control LED lights)
- 2014-04-23 10:08:42下载
- 积分:1
-
plx90615-stm32f103
MXL90615的驱动程序,是基于STM32的,已经通过啦(
MXL90615的驱动程序,是基于STM32的,已经通过啦
MXL90615 the driver is based on STM32, has been adopted)
- 2016-11-08 00:01:21下载
- 积分:1
-
example6_TIM
本例展示了如何设置TIM,用它来测量一个外部输入信号的频率和占空比。
TIM2时钟设置为72MHz,预分频设置为0,TIM2计数器时钟可表达为:
TIM2 counter clock = TIMxCLK / (Prescaler +1) = 72 MHz,因此可测量的最小频率值为1100Hz。
设置TIM2工作在PWM输入模式(PWM Input Mode),把外部信号作为输入连接到TIM2通道2。
利用TIM2计数器中断来测量信号的频率和占空比。在TIM2_IRQHandler中,计算信号的频率和占空比,方法如下:
变量"Frequency"为由下式得到的外部信号频率:
Frequency = TIM2 counter clock / TIM2_CCR2 单位Hz
变量"Duty_Cycle"为由下式得到的外部信号占空比:
Duty_Cycle = (TIM2_CCR1*100)/(TIM2_CCR2) 单位
(This example shows how to set up the TIM, and use it to measure the frequency and duty cycle of an external input signal. TIM2 clock set to 72MHz and the prescaler is set to 0, TIM2 is counter clock can be expressed as: TIM2 is counter clock = TIMxCLK/(prescaler. Ppls1) = 72 MHz, the minimum measurable frequency value of 1100 Hz. Set TIM2 PWM input mode (PWM Input Mode), the external signal as an input connected to the the TIM2 Channel 2. TIM2 counter interrupt signal to measure frequency and duty cycle. Calculate the frequency and duty cycle of the signal in TIM2_IRQHandler as follows: variable " Frequency" on the grounds of the external signal frequency by the following formula: Frequency = TIM2 is counter clock/TIM2_CCR2 unit Hz variable Duty_Cycle " on the grounds of the following formula to get external duty cycle: Duty_Cycle = (TIM2_CCR1* 100)/(TIM2_CCR2) in )
- 2012-05-18 18:28:47下载
- 积分:1
-
51-MCU-C-program-example
51单片机入门小程序,包括时钟、蜂鸣器、红外控制继电器和点阵显示。(51 single small entry procedures, including the clock, buzzer, IR control relays and dot matrix display.)
- 2014-01-04 18:11:20下载
- 积分:1