Problem with HAL_TIM_RegisterCallback
Hi,
can someone help me ? I do not know how to use "HAL_TIM_RegisterCallback" function.
My unsuccessful trial is in attachments. Can someone correct it ? + to attach the corrected version ?
I tried this example: https://deepbluembedded.com/stm32-timer-interrupt-hal-example-timer-mode-lab/
and it is working ok, but this example:
https://community.st.com/t5/stm32-mcus/how-to-use-register-callbacks-in-stm32/ta-p/580499
is not working - see screenshot below. .

