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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/09/04 22:14
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#72226 - RE: Alternate of Delay
Responding to: ???'s previous message
"i cant use timers because there are only 2 of them"

then you have already one more as it was needed.

Simple establish a timer interrupt of e.g. 1ms and count down so many bytes as simultaneous delays you need.

So the only limitation of using only one timer for all delays was only the amount of RAM for the delay counters and the count of cycles between two timer interrupts to handle it all and have enough time remaining for the main loop.


Peter


List of 7 messages in thread
TopicAuthorDate
Alternate of Delay            01/01/70 00:00      
   RE: Alternate of Delay            01/01/70 00:00      
      RE: Alternate of Delay            01/01/70 00:00      
   RE: Alternate of Delay            01/01/70 00:00      
      RE: Alternate of Delay - Peter            01/01/70 00:00      
         Software delay overhead            01/01/70 00:00      
   Just a little searching...            01/01/70 00:00      

Back to Subject List