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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/30/04 16:11
Read: times


 
#63688 - RE: 8051 clock
Responding to: ???'s previous message
Ok, missed that one.

If you set the timer in counter mode and feed it the power frequency, you need prine it with -60 and use auto-reload mode. With the proper bits set in the interrupt and timer registers you will get an interrupt every second. Of course, if you prime with -6 you will get one every tenth of second.

SAFETY: get the 60HZ from the secondary of a transformer.

Erik

List of 14 messages in thread
TopicAuthorDate
8051 clock            01/01/70 00:00      
   RE: 8051 clock            01/01/70 00:00      
      RE: 8051 clock            01/01/70 00:00      
         RE: 8051 clock            01/01/70 00:00      
            RE: 8051 clock            01/01/70 00:00      
            RE: 8051 clock            01/01/70 00:00      
         RE: 8051 clock            01/01/70 00:00      
            RE: 8051 clock            01/01/70 00:00      
               RE: 8051 clock            01/01/70 00:00      
               RE: 8051 clock            01/01/70 00:00      
               RE: 8051 clock            01/01/70 00:00      
   RE: 8051 clock            01/01/70 00:00      
      RE: 8051 clock            01/01/70 00:00      
   RE: 8051 clock Tutorial            01/01/70 00:00      

Back to Subject List