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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/09/03 21:07
Read: times


 
#38673 - RE: please check this code, suggestions
Responding to: ???'s previous message
There is no difference ! The counter adds up external events. The timer adds up internal events, derived from the crystal.

You are exactly on track with everything else. You can usually use your assembler like this though:

MOV TH0,#HI(15536)
MOV TL0,#LO(15536)

Your version may be different, it could be HIGH and LOW

TO count one minute, you have to count 60 1 seconds. Get that working, then look at using the TIMER interrupts to do the work for you.

You are getting there Waqar, well done.
Steve

List of 11 messages in thread
TopicAuthorDate
please check this code, suggestions            01/01/70 00:00      
   RE: please check this code, suggestions            01/01/70 00:00      
      RE: please check this code, suggestions            01/01/70 00:00      
         Thanks for all the help..            01/01/70 00:00      
   RE: please check this code, suggestions            01/01/70 00:00      
      RE: an added note            01/01/70 00:00      
         RE: an added note - Erik            01/01/70 00:00      
            RE: an added note - Erik            01/01/70 00:00      
               RE: an added note - Erik            01/01/70 00:00      
                  RE: an added note - Erik            01/01/70 00:00      
   RE: please check this code, suggestions            01/01/70 00:00      

Back to Subject List