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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Erik Malund
02/18/08 09:47
Read: 774 times
Mt Airy, Nc

#151021 - Samuel Clemens said
Responding to: Andy Neil'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.


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