SD Card mit Leonardo

Arduino UNO und auch Shield:

Connections

On the Arduino Duemilanove and other ATmega168 / 328-based boards, the SPI bus uses pins 10 (SS), 11 (MOSI), 12 (MISO), and 13 (SCK). On the Arduino Mega, this is 50 (MISO), 51 (MOSI), 52 (SCK), and 53 (SS). MISO, MOSI, and SCK are also available in a consistent physical location on the ICSP header; this is useful, for example, in designing a shield that works on the Uno and the Mega.

Note that even if you're not using the SS pin, it must remain set as an output; otherwise, the SPI interface can be put into slave mode, rendering the library inoperative. It is, however, possible to use a pin other than pin 10 as the slave select (SS) pin. For example, the Arduino Ethernet shield uses pin 4 to control the SPI connection to the on-board SD card, and pin 10 to control the connection to the Ethernet controller.

ICSP Stecker :

Pin 1 des ICSP ist links oben (wenn der Aufdruck "Arduino Leonardo" richtigherum steht) und durch einen kleinen Punkt gekennzeichnet. http://arduino.cc/en/Main/ArduinoBoardLeonardo auf dem Arduino 2009 stehts drauf: http://arduino.cc/en/Main/ArduinoBoardDuemilanove

Bei Zweifel nachmessen: GND ist masse und VTG ist mit 5V verbunden.

Grüße Uwe