State change detection

Two counters on basis of state change detection at a time

Sorry..
What do you want the counters to do?
With what input?

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html

Thanks.. Tom... :slight_smile:

Look for the example in the Arduino IDE.