I am desperately in need of a simple alogorithm to keep count of all transitions from low-to-high on a digital input pin. My program inputs the desired number of transitions and when the count is exceeded then the program terminates.
thanks!!
Lawrob