User Activity

Posted on February 06, 2015 at 17:29Can someone explain why the following code causes CCR1, CCR2 and CCR3 to have the same value: TIM1->CCR1=value1; TIM1->CCR2=value2; TIM1->CCR3=value3; While the following code doesn't cause this problem (CCR1 and ...
Posted on December 05, 2014 at 19:08Hello, I'm trying to change the  duty cycle of TIM1 in PWM Mode, but somehow my code is not working. void TIM1_CC_IRQHandler(void) {   HAL_NVIC_ClearPendingIRQ(TIM1_CC_IRQn);   HAL_TIM_IRQHandler(&htim1);     cx++...