Solved
Arduino milis() function stm32f103xx
I am trying to port some Arduino library to stm32. In Arduino,
millis()
returns the number of milliseconds since boot. Is there an equivalent function in stm32? I am using stm32f103 MCU.
I am trying to port some Arduino library to stm32. In Arduino,
millis()
returns the number of milliseconds since boot. Is there an equivalent function in stm32? I am using stm32f103 MCU.
HAL_GetTicks () should suffice, typically a 1ms tick via SysTick
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.