Skip to content

Doesn't work with all memory cards #97

@Stass48

Description

@Stass48

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions