|
Re: Wait/Pause function?
You can try Wait(double) in Timer.h
And that's just a simple two instruction loop. It won't occupy the processor for long (though it will waste computing power when compared to a yield AFAIK), it won't be reliable (timing could change very easily based on process scheduling), and it may be optimized out by the compiler.
Last edited by rbmj : 24-03-2012 at 22:07.
|