added support for the digitalPinToInterrupt macro, if you're using a version of Arduino that supports it