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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/05/02 14:34
Read: times


 
#33829 - RE: Problem with reading timers
It seems that the timer overflows sometimes, on any overflow now I increase a variable called let's say H.


a[0]=H;
a[1]=TH0;
a[2]=TL0;
time=(int*)a;

afterwards,I put a few of the samples in an array called gem.
for instance:

unsigned long gem[11];

if (times<10)
gem[times]=time;


When I look at the array afterwards, all entries look like this>>>
{0FFFFFFFF,0FFFFFFFF.....0FFFFFFFF}

Anybody got a clue?


List of 27 messages in thread
TopicAuthorDate
Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
crash course            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      
RE: Problem with reading timers            01/01/70 00:00      

Back to Subject List