@@ -47,7 +47,7 @@ void setup() { | |||
sgtl5000_1.volume(0.5); | |||
SPI.setMOSI(SDCARD_MOSI_PIN); | |||
SPI.setSCK(SDCARD_SCK_PIN); | |||
if (!(SD.begin(SDCARD_SCK_PIN))) { | |||
if (!(SD.begin(SDCARD_CS_PIN))) { | |||
while (1) { | |||
Serial.println("Unable to access the SD card"); | |||
delay(500); |