sgtl5000_1.volume(0.5); | sgtl5000_1.volume(0.5); | ||||
SPI.setMOSI(SDCARD_MOSI_PIN); | SPI.setMOSI(SDCARD_MOSI_PIN); | ||||
SPI.setSCK(SDCARD_SCK_PIN); | SPI.setSCK(SDCARD_SCK_PIN); | ||||
if (!(SD.begin(SDCARD_SCK_PIN))) { | |||||
if (!(SD.begin(SDCARD_CS_PIN))) { | |||||
while (1) { | while (1) { | ||||
Serial.println("Unable to access the SD card"); | Serial.println("Unable to access the SD card"); | ||||
delay(500); | delay(500); |