Go Down

Topic: Suggestion for SD library (Read 793 times) previous topic - next topic



I would suggest adding a function call SD.end() to the SD library. This would serve the same purpose as Serial.end() does on Serial connection. Basically a shutdown command for the SD card (and library).

Reason for this would be an ease of use and coding for projects that require swapping SD cards on the fly without powering down the Arduino. At the moment the current SD library doesn't like when the card is initialized, removed, reinserted and reinitialized (with the same or different card).

Thank you in advance.

Go Up