5 years, 9 months ago.  This question has been closed. Reason: Off Topic

detect rising edge and falling

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?

and if my count is 3 in total then i want to print the variables stored in my array

posted by aman chawla 04 Jul 2018