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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/03/07 14:22
Read: times


 
#147794 - you will get a 'cleaner' pause if you
Responding to: ???'s previous message
Put the "stop while key is pressed" loop in the main. There you will be able to stop in a "known state". for example if the pause occur with some lights blinking and you pause in an ISR (anywhere) those lights may be left on or off, pausing in the main, you have full control.

If you can not pause in the main because your main runs for more than a few milliseconds per loop, you have other problems.

Erik

List of 13 messages in thread
TopicAuthorDate
Pause MCU            01/01/70 00:00      
   The usual way?            01/01/70 00:00      
      standby mode ?            01/01/70 00:00      
         Standby            01/01/70 00:00      
   I am working on AT89C51.            01/01/70 00:00      
      But what are you actually trying to achieve?            01/01/70 00:00      
         Light focus adjustment            01/01/70 00:00      
            Pause            01/01/70 00:00      
            you will get a 'cleaner' pause if you            01/01/70 00:00      
               RE:you will get a 'cleaner' pause if you            01/01/70 00:00      
   all your code will do is stay in the ISR ...            01/01/70 00:00      
   I did post the cause..?            01/01/70 00:00      
      look at the 2 post times :)            01/01/70 00:00      

Back to Subject List