- This topic has 1 reply, 2 voices, and was last updated 2 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › CHAPTER 11 EX 7 LED NOT BLINKING
Hi everyone,
In chapter 11 example 7 the HAL_TIM_PeriodElapsedCallback is never reached and hence the LED doesn’t blink. The code is taken directly from github. I have put code to make the led blink in the other functions and it seems to work, including the OC callback.
Has anyone else had this problem? It’s really confused me as it makes no sense at all.
Thank you for your help.
ff
HAL_TIM_PeriodElapsedCallback runs at 244Hz. It is impossible to notice such a blinking frequency of the diode with the eye. I lowered the work frequency to 10 Hz and saw the diode blinking