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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/26/05 04:10
Read: times


 
#95931 - Tutorials
Responding to: ???'s previous message
Hi Alex,

I'm not going to tag you with a "-1; Didn't Search First," or a "-1; Gimme Code." But I'll be amazed if you don't collect a few anyway.

The problem you are going to face is that a single timer isn't going to give you 5 minutes worth of run-time. A 16 bit timer is going to overflow after about .07 seconds (assuming 11.059 MHz crystal and 12 oscillations per machine cycle). What you will need to do is configure one 16 bit timer to count the overflow events of another timer, effectively giving you a 32 bit timer. A 32 bit timer will overflow after something like an hour and a half (65000 times 0.07 seconds).

Good luck.

List of 17 messages in thread
TopicAuthorDate
Countdown with 8051            01/01/70 00:00      
   No Code ,,, But an Idea            01/01/70 00:00      
   Tutorials            01/01/70 00:00      
      Hi.            01/01/70 00:00      
   Third way            01/01/70 00:00      
   I have a part of code...            01/01/70 00:00      
      Delays.....            01/01/70 00:00      
         Countdown            01/01/70 00:00      
            Show us the code !            01/01/70 00:00      
            "The" code...            01/01/70 00:00      
               What ?            01/01/70 00:00      
                  R1 and R2            01/01/70 00:00      
               binary-decimal            01/01/70 00:00      
                  Another trick            01/01/70 00:00      
                     It's working...            01/01/70 00:00      
   Start your count decimal            01/01/70 00:00      
   count down with 8051            01/01/70 00:00      

Back to Subject List