Is it possible to create microsecond delays in C/C++??The sleep() already present in time.h gives only in millisecond delays.I badly need to do this for accurate timimg in a real time aplication.Could someone suggest a way for this?
Printable View
Is it possible to create microsecond delays in C/C++??The sleep() already present in time.h gives only in millisecond delays.I badly need to do this for accurate timimg in a real time aplication.Could someone suggest a way for this?
I am not sure about what I am saying.
It depends on the computer hardware. I think you should use timer interupt of hardware. That is in PC int0 for example.
> I badly need to do this for accurate timimg in a real time aplication
State your OS / Compiler / Architecture and any other useful information which might help answer your question.