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 16:47
Read: times


 
#151021 - Samuel Clemens said
Responding to: ???'s previous message
Still probably not a job for loops...
"the reports of my death have been greatly exaggerated"

If you delay by loops (the report of) the dead controller (while in a loop, the controller is, for all practical purposes, dead) can cause all kinds of havoc. Much better to do the delay in a timer ISR and set a flag a 'live' micro can check.

Erik

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