Serial.print in an interrupt service routine will cause unpredictable behaviour.
Set a (volatile) flag in the ISR and print an interpretation of it in the loop()
Serial.print in an interrupt service routine will cause unpredictable behaviour.
Set a (volatile) flag in the ISR and print an interpretation of it in the loop()