C
Craig Williamson
I'm trying to write a time delay loop in Borland C 3.1 (for legacy
code) which has an accuracy of about 0.1ms. This change is due to a
hardware change and the software is now running too fast to take
proper readings. I have been using delay(1) in the past but it does
not have the accuracy that I need for this situation. Does anyone
know of a useful C function which can be used to create the time
delay? If anyone could help that would be greatly appreciated.
Cheers and good luck .
code) which has an accuracy of about 0.1ms. This change is due to a
hardware change and the software is now running too fast to take
proper readings. I have been using delay(1) in the past but it does
not have the accuracy that I need for this situation. Does anyone
know of a useful C function which can be used to create the time
delay? If anyone could help that would be greatly appreciated.
Cheers and good luck .