??? 02/18/08 01:20 Read: times |
#150978 - 11.059Mhz clock to create 1-30 second delay in C? |
I'm need to create super long time delays, what is the best method to do this? Typically in asm its a few nest loops, is there a C specifier to have the counters that a hard coded value could create this long time delay. I've done a bit of searching and most if all time funcions are written in ASM, I'd like to see an example in C and the most efficient way of doing it.
Any thoughts or links?? Thanks again |
Topic | Author | Date |
11.059Mhz clock to create 1-30 second delay in C? | 01/01/70 00:00 | |
as far as I remember... | 01/01/70 00:00 | |
It's worse than that, Jim | 01/01/70 00:00 | |
solution? | 01/01/70 00:00 | |
Not nested loops! | 01/01/70 00:00 | |
I'll check those out tonight after work | 01/01/70 00:00 | |
delay needs to be centered around 5 seconds or so | 01/01/70 00:00 | |
Samuel Clemens said | 01/01/70 00:00 | |
Couldn\'t use of a different crystal solve this? | 01/01/70 00:00 | |
I wonder![]() | 01/01/70 00:00 |