Arduino DUE + SD Card

Hello everyone!

Can anyone explain me how I can connect sd card to arduino due and work with it?

(deleted)

http://forum.arduino.cc/index.php/topic,135439.msg1018776.html#msg1018776

I used SDFat but nothing I don't thing that code is wrong I connected SD with wires to arduino due

Here is arduino connections

Hello rafo.

My Due works OK using this library:

You can try the following example:

#include <SPI.h>
#include <SD.h>
Sd2Card card;
SdVolume volume;
SdFile root;
const int chipSelect = 4;

void setup()
{
  Serial.begin(9600);
  Serial.println("\nInitializing SD card...");
  if (!card.init(SPI_HALF_SPEED, chipSelect)) {
    Serial.println("initialization failed.");}
  volume.init(card);
  root.openRoot(volume);
  root.ls(LS_R | LS_DATE | LS_SIZE);
}

void loop(void) {
}

-p

spycatcher2k:
Yes

You connect it with wires and write code.

Have you tried GOOGLE? I did and found hundreds of tutorials.

Yeah I did ZERO WORKED.....