SD and ISR

I recently read in Simon Monk's book ("Programming Arduino: Next Steps") that you cannot use the serial communication within an ISR because the serial communication also uses interrupts. I am presently learning on the Arduino Uno, but I intend to get another Arduino (Adafruit Feather 32u4 Adalogger) so that I could use its microSD card for logging data without being connected to my laptop. Can anyone tell me if the SD library also uses interrupts and therefore cannot be used within an ISR?


ISRs should be as short aund quick as possible. SD card access can be slow.

So don’t use it from an ISR, signal the main loop from the ISR what is to be done and do it from the main code.

Have a look at Gammon Forum : Electronics : Microprocessors : Interrupts