Datasheet
For the Mega and Leonardo
If you are using an Leonardo or Mega, you will have to replace the existing SD card library to
add 'SD card on any pin' support. If you have an Uno/Duemilanove/Diecimila, this is not
required.
First, find the "core libraries" folder - if you are using Windows or Linux, it will be in the folder
that contains the Arduino executable, look for a libraries folder. Inside you will see an SD
folder (inside that will be SD.cpp SD.h etc)
In the libraries folder, make a new folder called SDbackup. Then drag the SDfolder into
SDbackup, this will 'hide' the old SD library without deleting it
© Adafruit Industries https://learn.adafruit.com/adafruit-data-logger-shield Page 30 of 68