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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/05/02 17:42
Read: times


 
#23964 - count pulses within a limited time
hey there,

I'va got a porblem and neither the tutorials nor the messageboard offers a solving solution to me: I have to count the time between pulses on P3.4 during 3 seconds, then, this time has to be averaged, and then, the value 60 has to be divided by this average, finaly the new value has to be placed in R2... but all this has to happen continueisly, so I tried working with an interrupt but I can't figure out how to do this. The averaging and the dividing can take place in another subroutine. Does anyone has any idea how to make this in assembly?

I would be pleased to finally have a working piece of programming...

Thanx ahead
Jeroen

List of 2 messages in thread
TopicAuthorDate
count pulses within a limited time            01/01/70 00:00      
RE: count pulses within a limited time            01/01/70 00:00      

Back to Subject List