AnsweredAssumed Answered

delay introduction and example stm32f407

Question asked by armoun.mohamad on Jun 29, 2014
Latest reply on Jun 29, 2014 by Clive One
hi guys i have discovery board (stm32f407) and in my code i have some tasks which have to execute in specific time . so i have to have a accurate delay , i used to use this :

void Delay(__IO uint32_t nCount)
{
  while(nCount--)
  {
     
  }
}
 but i think it's not accurate , i need a function to specify this by millisecond.

can you explain how many methods is there to do that  and make an example ??
thank 

Outcomes