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?