Smooth LED lights level change

This commit is contained in:
Anton Mukhin
2024-01-18 15:26:13 +03:00
parent 108f165ca2
commit 651e3b02d1
4 changed files with 54 additions and 43 deletions

View File

@@ -428,13 +428,7 @@ static void MX_GPIO_Init(void)
}
/* USER CODE BEGIN 4 */
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim)
{
if(htim->Instance == TIM1) //check if the interrupt comes from TIM1
{
timer1_ovf_isr();
}
}
/* USER CODE END 4 */
/**