Resolved! Can PWM settings affect other timer settings?
#include "Main.h" #define MAX_Intensity 1600 static volatile uint16_t Intensity = 10; void Timer4_Configuration(void) { TIM_TimeBaseInitTypeDef TIM_BaseStructure; RCC_APB1PeriphClockCmd(RCC_APB1Periph_TIM4, ENABLE); TIM_BaseStructure.TIM_P...