Skip to content

Problem with SD Card #575

Answered by schreibfaul1
micblu asked this question in Q&A
Aug 25, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

please try with these GPIOs, S2 and S3 must be on

#include "Arduino.h"
#include "WiFi.h"
#include "SPI.h"
#include "SD.h"
#include "FS.h"
#include "Wire.h"
#include "ES8388.h" // https://github.com/maditnerd/es8388
#include "Audio.h" //https://github.com/schreibfaul1/ESP32-audioI2S

// SPI GPIOs
#define CS 13
#define MOSI 15
#define MISO 2
#define SCK 14

// I2S GPIOs, the names refer on ES8388, AS1 Audio Kit V2.2 3378
#define I2S_SDOUT     26
#define I2S_BCLK      27
#define I2S_LRCK      25
#define I2S_MCLK       0

// I2C GPIOs
#define IIC_CLK 32
#define IIC_DATA 33

// buttons
// #define BUTTON_2_PIN 13 // shared mit SPI_CS
#define BUTTON_3_PIN 19
#define BUTTON_4_PIN 23
#define BUTTO…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@micblu
Comment options

@micblu
Comment options

Answer selected by micblu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants