Question
delay introduction and example stm32f407
Posted on June 29, 2014 at 10:04
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 accuratedelay , 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