Function : __HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_3,(duty_c)*400); is disturbing my 16x2 LCD routine which demands a delay to receive and display data on the screen.
Hi, I have a code in which I am controlling a PWM output in Center Aligned Mode using Timer 2 Channels 2 (inverted polarity) and 3, both having their duty cycles changed by the functions:__HAL_TIM_SET_COMPARE(&htim2,TIM_CHANNEL_2,(duty_c-0.05)*400);_...