-
SQL
can kao shouce (can kao shou ce )
- 2013-12-23 17:21:08下载
- 积分:1
-
uart_a
pic单片机4011串口调试测试程序,适用于初学者。已经过测试。(4011 pic microcontroller serial debugging and testing procedures applicable to beginners. Has been tested.)
- 2013-11-06 21:48:59下载
- 积分:1
-
stm32f103 HAL库定时器例程
说明: stm32f103 单片机 HAL库定时器应用例程(stm32f103 HAL library timer application routine)
- 2020-06-16 08:00:01下载
- 积分:1
-
ADB_Client
adb协议实现pc和安卓间的通信,客户端为pc,服务端为安卓(ADBSocketTest.zip, ADB protocol to achieve the communication between PC and Android, the client for the PC, the server for Android)
- 2020-12-30 01:19:00下载
- 积分:1
-
guigangpian
常见硅钢片的BH曲线,即磁化曲线,可以用于电机设计或者变压器设计。(BH curve common silicon, namely the magnetization curve can be used to design the motor or transformer design.)
- 2016-06-26 00:48:53下载
- 积分:1
-
RN8209C及D初始化及UART通讯参考程序
RN8209C及D初始化及UART通讯参考程序(RN8209C and D initialization and UART communication reference program)
- 2018-08-29 09:08:34下载
- 积分:1
-
MQ137-DQ
MQ137气体传感器采集的模拟电压数据再MSP430内部ADC12转换成数字信号(the module of ADC12 in MSP430 converts the analog voltage sampled by transducer of MQ137 to digital signal )
- 2013-03-04 21:00:24下载
- 积分: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
-
liti.zip
基于MAP430F149单片机的典型例题,很有帮助(Microcontroller based MAP430F149 a typical example, very helpful)
- 2013-08-27 19:49:36下载
- 积分:1
-
hwj
说明: 通过温度传感器获得温度值,并设定温度值,在温度值大于设定值时,单片机驱动风扇,降温。(The temperature value is obtained by temperature sensor, and the temperature value is set. When the temperature value is greater than the set value, the single chip computer drives the fan to cool down.)
- 2020-06-20 17:20:01下载
- 积分:1