Hi all, I am back with another problem!! I am using timer 2 in 103C8 controller for 0.1 Sec time delay. However, it is generating 5 times the calculated delay. My initialization code for this delay is given below. Timer interrupt is enabled.
htim2.Init.Prescaler = 1000;htim2.Init.CounterMode = TIM_COUNTERMODE_UP;htim2.Init.Period = 7200;htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;However if I change the prescaler to 200, ...