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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/05/05 22:32
Read: times


 
#84423 - Yes
Responding to: ???'s previous message

TH0 = 1F;
TL0 = FF;
8191d = 0x1FFF
see the Pattern

// one of several ways to do this
decimal = (TH0 * 256) + TL0


List of 9 messages in thread
TopicAuthorDate
Getting the timers value into decimal            01/01/70 00:00      
   BCD            01/01/70 00:00      
   printf            01/01/70 00:00      
   Yes            01/01/70 00:00      
   whoops            01/01/70 00:00      
      8051 timers in 16-bit mode...reg            01/01/70 00:00      
         where to read, why not do            01/01/70 00:00      
         RTFM!            01/01/70 00:00      
         many ways            01/01/70 00:00      

Back to Subject List