cancel
Showing results for 
Search instead for 
Did you mean: 

why tim1 in pwm does not work :-(

robust_ed
Associate
Posted on April 02, 2014 at 14:25

why tim1 in pwm does not work :(

3 REPLIES 3
Posted on April 02, 2014 at 14:51

Because you did not try hard enough.

JW
Posted on April 02, 2014 at 15:33

    /* TIM1 Main Output Enable */

    TIM_CtrlPWMOutputs(TIM1, ENABLE);

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on April 02, 2014 at 15:54

Ah, the gotcha with the ''advanced timers'' (TIM1 and TIM8) needing to have MOE bit in TIMx_BDTR set...

JW