Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Andy Neil
02/18/08 00:03
Read: 1145 times

#150985 - Not nested loops!
Responding to: Chris Bertrand's previous message
Chris Bertrand said:
I'm need to create , what is the best method to do this? Typically in asm its a few nest loops

No, I don't think that would be typical at all - not for a "super long" time delay!

As Russel says, "typically" you'd use a hardware timer to give you some suitable timebase "tick", and then count the required number of "ticks"

List of 10 messages in thread
11.059Mhz clock to create 1-30 second delay in C?      Chris Bertrand      02/17/08 18:20      
   as far as I remember...      Jose Orlando T. Ribeiro      02/17/08 18:34      
      It's worse than that, Jim      Andy Neil      02/18/08 00:21      
   solution?      Russell Bull      02/17/08 23:13      
   Not nested loops!      Andy Neil      02/18/08 00:03      
      I'll check those out tonight after work      Chris Bertrand      02/18/08 05:12      
         delay needs to be centered around 5 seconds or so      Andy Neil      02/18/08 05:38      
            Samuel Clemens said      Erik Malund      02/18/08 09:47      
               Couldn\'t use of a different crystal solve this?      Richard Erlacher      02/18/08 13:03      
                  I wonder      Erik Malund      02/18/08 14:05      

Back to Subject List