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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/28/03 18:07
Read: times


 
#61474 - RE: pulse width
Responding to: ???'s previous message
your code is incomplete, but is something like this:

- do you have a signal with an undetermined width
- that signal is connected to INT0
- as long the signal at INT0 is high, TL0 counts the machine cycles

you know your clock, you have the pulse counting, do the math.

eg. 200 machine cycles, so the width is 200 x 1us (for a 12MHz crystal) = 200us

HTH

orlando

List of 10 messages in thread
TopicAuthorDate
pulse width            01/01/70 00:00      
   RE: pulse width            01/01/70 00:00      
      RE: pulse width            01/01/70 00:00      
   RE: pulse width            01/01/70 00:00      
      RE: pulse width            01/01/70 00:00      
         RE: pulse width            01/01/70 00:00      
         RE: pulse width            01/01/70 00:00      
            RE: pulse width            01/01/70 00:00      
   RE: pulse width            01/01/70 00:00      
   RE: pulse width            01/01/70 00:00      

Back to Subject List