Use digitalPinToInterrupt macro available in Arduino 1.5.5