|
|
|
@ -33,7 +33,7 @@ void setup()
|
|
|
|
|
// (10 on most Arduino boards, 53 on the Mega) must be left as an output
|
|
|
|
|
// or the SD library functions will not work.
|
|
|
|
|
pinMode(PIN_SPI_CHIP_SELECT, OUTPUT);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!SD.begin(PIN_SPI_DATA)) {
|
|
|
|
|
Serial.println("initialization failed!");
|
|
|
|
|
return;
|
|
|
|
|