This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Delay function in C using P89c51RD2HBP

How to calculate the exact delay without the use of the timer?

For example if i want a 10ms delay, i need to achieve this delay using the for loop not with help of the in built timer.

Is there any formula or calculation to do the delay?

I dont know how to get it. I am using P89c51RD2HBP microcontroller.

Currently i am using a random delay which is worst case delay.

Anybody can say how to do the correct delay using the loop method.

0