added digitalPinToInterrupt support