interrupt 0 ON ARDUINO MEGA code example Example: interrupt arduino attachInterrupt(digitalPinToInterrupt(interruptPin), someFuntion, CHANGE);