Find time duration between two pulse of same signal

546 Views Asked by At

i want to find time duration between two pulse of same signal. That's mean time duration between falling edge of first pulse and rising edge of second signal. Here, i'm using Arduino Uno board. Here, Image show my two pulse of same signal. i want to find time t.

enter image description here

I want some logic or arduino code.

1

There are 1 best solutions below

0
On BEST ANSWER

Check function pulseIn() It will solve your problem. Note: Just put LOW as parameter.