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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/18/08 07:03
Read: times


 
#150985 - Not nested loops!
Responding to: ???'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"

http://www.8052.com/forum/read.phtml?id=150981




List of 10 messages in thread
TopicAuthorDate
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      

Back to Subject List