So I've got my Mega hooked up to the SD breakout according to the SPI layout of:
- DO to pin 50
- DI to pin 51
- SCK to pin 52
- CS to pin 53
- GND to GND
- VCC to 3.3V
Which lines up exactly with the datasheet of the Mega 2560's SPI pins. I've been trying to run the ReadWrite example in the SD library through it, but each time I never get past initialisation. The serial readout just stops at "Initializing SD card...initialization failed!"
I've seen some other examples using the breakout that use a 10k resistor between DI to VDD and DO to VDD, are those necessary here or is there something obvious I'm missing?