interrupt/counter

The second argument to attachInterrupt() is the function to be called when the interrupt happens.