Jump to content

STM32LTDC


zhuantou215

Recommended Posts

I have no idea what delay_ms() is but I assume it's a delay function of your underlying system. And in that case it's completely at the wrong place. The function gfxMillisecondsToTicks() is supposed to convert the passed number of milliseconds to the number of ticks.

You can find examples of how to do that using the ST CubeHAL here: https://wiki.ugfx.io/index.php/BareMetal#SysTick
All other underlying systems (eg. operating systems) already have everything built-in.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...