Two Interrupt questions

I'm working on a project and am using the AttachInterrupt() function.

  1. Do the normal rules for an ISR (e.g., volatile, short code, etc.) apply to the second argument to the function? Normally, I write my own ISR which sets a variable and let loop() handle the processing. (Usually speed is not that critical.) I'm guessing that the function is a wrapper around the ISR and I can move the processing code into the function being pointed to.

  2. Has anyone has any issues using INT05 on the Mega2560?

  1. Correct, it's just a wrapper :slight_smile:

  2. Don't use a lot of Mega's...