non busy delay routine..... possible?
Posted: Sun Jan 08, 2017 11:44 am
hi,
the need for this topic is to discuss the disadvantage of inbuilt 'delay' macro within FC.
although it works perfect in many applications but in some applications where many interrupts are used and it is not required to keep processor in busy loop. in these cases 'delay' creates timing issues eg. if there is a seconds counter in the program, it gets delayed counts i.e. timing affects.
i went through many threads on forum but didn't get the proper answer for this.
i want to know the possible other methods to generate delays without using 'delay' macro and busy loops.
thanks and regards,
Prashant
the need for this topic is to discuss the disadvantage of inbuilt 'delay' macro within FC.
although it works perfect in many applications but in some applications where many interrupts are used and it is not required to keep processor in busy loop. in these cases 'delay' creates timing issues eg. if there is a seconds counter in the program, it gets delayed counts i.e. timing affects.
i went through many threads on forum but didn't get the proper answer for this.
i want to know the possible other methods to generate delays without using 'delay' macro and busy loops.
thanks and regards,
Prashant