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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/27/05 18:10
Read: times


 
#94021 - You're the Teacher here
Responding to: ???'s previous message
Erik what is the right value going into TH1 and TL1. I am usigng the 7.373Mhz internal crytal. I need the closest count to .5 sec.
Why it is ilegal having a return; command in an ISR?

You said"Why do you make it 2 levels, why not count to 1000 in an int??" Shouldn't it be 250 x 40? to make it one level. Doesn's a clock work that way? msec, sec, min, hour, days?

ticks is incremented ONLY when ticks10 reaches 250. Then ticks10 gets reset. Isn't that right?

Thanks


List of 11 messages in thread
TopicAuthorDate
LPC932 Timer Variable            01/01/70 00:00      
   Call?!            01/01/70 00:00      
      Of Course Not!            01/01/70 00:00      
         Initialisation?            01/01/70 00:00      
            Here it is Andy!            01/01/70 00:00      
               2 things            01/01/70 00:00      
                  You're the Teacher here            01/01/70 00:00      
                     replies            01/01/70 00:00      
               No, that's not the same code!            01/01/70 00:00      
   Suspicious pre-increments            01/01/70 00:00      
      Sorry - my mistake            01/01/70 00:00      

Back to Subject List