How to generate a delay within a Timer Callback function?
Posted on June 15, 2017 at 10:54Hello, I'm trying to read the tension in a port with the ADC every 2 seconds. In order to achieve this, I call the ADC reading function within a HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) function and I ha...