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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/24/03 02:17
Read: times


 
#46516 - RE: How to write code for timer application?
Responding to: ???'s previous message

Start from basics - in 555 timer you set timing normally by varying a pot and start timing by a low going pulse to the trigger pin.

So in your 89cx051 how would you want to set the timing ? - thumbwheel switches/keypad/selector switches ?
And how would you start the timing - a pushbutton ?

You will have to use one of the timers ( preferably Timer 2)to genererate an interrupt once every 50mS and then from this derive the 1 Sec event and from that derive the 60 Sec event. That will be the code mostly - rest is to just compare what the user wants and stop at that point of time...

And more important - will you code in C or Assembly ?

Raghu

List of 9 messages in thread
TopicAuthorDate
How to write code for timer application?            01/01/70 00:00      
   RE: How to write code for timer applicat            01/01/70 00:00      
   RE: How to write code for timer application?            01/01/70 00:00      
   RE: How to write code for timer application?            01/01/70 00:00      
      RE: How to write code for timer application?            01/01/70 00:00      
         RE: How to write code for timer application?            01/01/70 00:00      
            RE: How to write code for timer application?            01/01/70 00:00      
               RE: How to write code for timer application?            01/01/70 00:00      
   RE: How to write code for timer application?            01/01/70 00:00      

Back to Subject List