Unable to access SD card - Arduino IDE
Posted: Fri Jul 19, 2019 9:49 am
Hi
I'm trying to implement the ESP ADF with the Arduino IDE to play music stored on the SD card.
I have a ESP Lyrat V4.3 board.
I tried the following code:
I keep getting the 'Card mount failed', even with chancing the CSpin.
Is there something else I should do or change to make this work?
I'm trying to implement the ESP ADF with the Arduino IDE to play music stored on the SD card.
I have a ESP Lyrat V4.3 board.
I tried the following code:
Code: Select all
#include "FS.h"
#include "SD.h"
#include "SPI.h"
int CSpin = 13;
void setup() {
Serial.begin(115200);
if (!SD.begin(CSpin)) {
Serial.println(": Card Mount Failed");
}
else {
Serial.println("YAY");
}
}
void loop() {
}
Is there something else I should do or change to make this work?