5 years, 9 months ago.

detecting rising and falling edge

I want to count the the three in total rising edge and falling edge and print something. but i dont know how to count the rising edge and falling? i.e 1.5 cycle

1 Answer