ok, so i have a long project that I am working on, and this is the first time that I have had to work with microprocessors or anything of the sort. So I am still in the learning stage of things. I am working with the Seeedstudio SD shield, and I have already taken up pins 9 -15 (for an lcd display, kinda pointless, but it has its uses), so I have wired up the 3.3 V, the 5V, and two grounds to their respective pins, but I had to wire what was designed for pin D9 to D1 and D10 to D2 and so on. My question is will it matter what pins I wire the SD shield to, and does anyone have code snippets that could direct me on how to go about coding the program to write to the sd card ( i have coded in java, c++, matlab, and VB, but I am new to straight C).

in case you are curious I am working on a project to send a balloon to the outer atmosphere, collect data, take pictures, pop and come back down. I will be using 2 arduinos for this project, one as a sensor package, and the other as a gps interface that will have to transmit the location of the arduinos during the flight and when the sensors and everything else end up back on the ground.

what i need to know is does it matter what pins the sd shield goes into or not

A proper shield fits one way.

Some of the stuff that Seeed is foisting off as "shields" needs to remain in stock until they re-design the item as a proper shield. Whether the SD shield fits in that category, or not, is hard to tell, since you didn't post a link to the device.

Which library are you using to read from the SD card? That may also have an influence on the answer to your question.

So the guys from seeed studio emailed me the schematic for their design (see attached), and I have been trying to configure it to work with just the example of readwrite that is included with the arduino software

the cs is pin 10 the hardware ss is pin 10 as well

i am really confused as to how this all works, but I want to learn, any help in getting this to work would be great

void setup(){ Serial.begin(9600); Serial.print("Initializing SD card..."); // On the Ethernet Shield, CS is pin 4. It's set as an output by default. // Note that even if it's not used as the CS pin, the hardware SS pin // (10 on most Arduino boards, 53 on the Mega) must be left as an output // or the SD library functions will not work. pinMode(10, OUTPUT);