Solved
HAL_Delay(1); takes 2ms
Hello
I just found out that the HAL_Delay() delay actually takes 1ms longer than the desired value. Why?
STM CUBE IDE 1.9.0
STM32F072RBT6


Hello
I just found out that the HAL_Delay() delay actually takes 1ms longer than the desired value. Why?
STM CUBE IDE 1.9.0
STM32F072RBT6


Because it's an "at-least-N-ms" delay with 1ms granularity.
JW
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.