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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/11/00 06:27
Read: times


 
#4307 - RE: Timer 2
Hi Manfred,

you can stop the timer or you can read it on the fly.
See my example for Timer T1:

unsigned int read_on_the_fly_T1( void )
{
unsigned char th, tl;
th = TH1;
tl = TL1;
if( th != TH1 && tl <= TL1 )
th++;
return tl | ((unsigned int)th << 8);
}



Peter


List of 4 messages in thread
TopicAuthorDate
Timer 2            01/01/70 00:00      
RE: Timer 2            01/01/70 00:00      
RE: Timer 2            01/01/70 00:00      
RE: Timer 2            01/01/70 00:00      

Back to Subject List