Datasheet

Go to the beginning of the sketch and make sure that the chipSelect line is correct, for the
datalogger shield we 're using digital pin 10 so change it to 10!
Mega and Leonardo Users!
Don't forget to change sd.begin() to specify the pin numbers as below
SD.begin(10,11,12,13);
OK, now insert the SD card into the Arduino and upload the sketch
© Adafruit Industries https://learn.adafruit.com/adafruit-data-logger-shield Page 25 of 68