??? 05/29/05 04:50 Read: times |
#94076 - Delay.. Responding to: ???'s previous message |
Hi Leo, thanks for your reply. By the way, how much time does this take in a 12MHz 89c51 controller?
unsigned int i; for(i=0;i<100;i++); I used to figure out using the performance analyser of Keil, it does show the time elapsed in for loop but will this be the same delay always? The reason is, I have written a delay loop with the delay in millisecond as the parameter. This function in turn calls a function which elapses approximately 1ms delay. 1ms delay may be a loop like aforementioned or a timer. How to calculate delay time in loops in C? Regards, Vignesh. |
Topic | Author | Date |
Keil: getting input | 01/01/70 00:00 | |
If it works in ASM it Works in C | 01/01/70 00:00 | |
Why C?! | 01/01/70 00:00 | |
Irrelevant | 01/01/70 00:00 | |
Of Course | 01/01/70 00:00 | |
key scan | 01/01/70 00:00 | |
Delay.. | 01/01/70 00:00 | |
Delay | 01/01/70 00:00 | |
Software Delay Loops | 01/01/70 00:00 | |
Software Delay Loops | 01/01/70 00:00 | |
Learning 'C' | 01/01/70 00:00 | |
to be precise.. | 01/01/70 00:00 | |
Debounce | 01/01/70 00:00 | |
completely missed it.. | 01/01/70 00:00 | |
to be precise... | 01/01/70 00:00 | |
Sorry Leo ! | 01/01/70 00:00 | |
Inferences | 01/01/70 00:00 | |
Right answer, wrong reason | 01/01/70 00:00 | |
and therefore | 01/01/70 00:00 | |
Congratulations | 01/01/70 00:00 | |
to: Raghu Sir![]() | 01/01/70 00:00 | |
BIts! | 01/01/70 00:00 |