标签:步进电机频率控制
void set_fre(unsigned int frequence)}
#if tim4
TIM_TimeBaseInitStruct. TIM_Prescaler=0; //?¤·??μoíperiodò??eéè??pwmμ??ü?ú
TIM_TimeBaseInitStruct .TIM_CounterMode=TIM_CounterMode_Up;
TIM_TimeBaseInitStruct .TIM_Period=9;//???ó??oí?¤·??μò??eéè??pwm?ü?ú
TIM_TimeBaseInitStruct .TIM_ClockDivision=0;
TIM_TimeBaseInit(TIM4, &TIM_TimeBaseInitStruct);
标签:步进电机频率控制
原文地址:http://blog.csdn.net/u011046042/article/details/38345239