Arduino interrupt tutorial with example demonstration of how to use external interrupt and pin change interrupt in arduino.