« first day    last day (17 days later) » 

05:05
@NickGammon According to arduino.cc/reference/en/language/functions/external-interrupts/…, attachInterrupt() returns nothing.
05:28
@PaulJurczak However digitalPinToInterrupt returns something, which is what I suggested you see what that something was.
If the interrupt number is not in the list for attachInterrupt (and -1 would not be) then it would do nothing.
 
14 hours later…
19:50
@NickGammon Ooops, didn't notice that you meant digitalPinToInterrupt(). Will try when serial communication starts working again.

« first day    last day (17 days later) »