Using NOT_AN_INTERRUPT defined constant
Added attachInterruptToPin() function (Rob Tillaart)