AnsweredAssumed Answered

time management stm32l discovery

Question asked by valsim on Jul 29, 2014
Latest reply on Jul 30, 2014 by valsim
Hi I am working fora project withthestm32ldiscoverybutI have a problem:the Delay functionthatI implementedin my programis not working

void Delay(uint32_t nTime) {
TimingDelay = nTime;
while (TimingDelay != 0);
}

void TimingDelay_Decrement(void) {
if (TimingDelay !=0x00) {
TimingDelay--;
    }
}

Certainlyomitsomeinitialization operationnecessaryforits proper functioning
Can anyonehelp me?
Thank you.

Outcomes