Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with all memory cards #97

Open
Stass48 opened this issue May 4, 2024 · 0 comments
Open

Doesn't work with all memory cards #97

Stass48 opened this issue May 4, 2024 · 0 comments

Comments

@Stass48
Copy link

Stass48 commented May 4, 2024

I have these memory cards:

image

Also, I tried different libraries. This and this. Memory cards of 1GB and 256MB do not work on both libraries. At the same time, SdFat initializes these memory cards and works successfully with them, which suggests that the problem is in the VS1053 library itself. Any ideas on how to make everything work?

Code for SdFat version:

#include <SPI.h>
#include <SdFat.h>
#include <vs1053_SdFat.h>

SdFat sd;
vs1053 MP3player;

void setup() {
  Serial.begin(9600);

  sd.begin(SdSpiConfig(9, SPI_HALF_SPEED));

  MP3player.begin();
  MP3player.setVolume(10, 10);
  MP3player.playMP3("001.mp3");
}

void loop() {
  delay(1000);
}

Code for this library from player_simple.ino example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant