VS1053 MP3

Тема в разделе "Arduino & Shields", создана пользователем grand, 10 авг 2016.

  1. grand

    grand Гик

    Приобрел сабж, установил на уно.
    Пробую любые доступные скетчи в сети...
    Например, такой....

    Код (C++):
    // include SPI, MP3 and SD libraries
    #include <SPI.h>
    #include <Adafruit_VS1053.h>
    #include <SD.h>

    // These are the pins used for the breakout example
    #define BREAKOUT_RESET  9      // VS1053 reset pin (output)
    #define BREAKOUT_CS     10     // VS1053 chip select pin (output)
    #define BREAKOUT_DCS    8      // VS1053 Data/command select pin (output)

    #define CARDCS 4     // Card chip select pin
    #define DREQ 3       // VS1053 Data request, ideally an Interrupt pin

    Adafruit_VS1053_FilePlayer musicPlayer = Adafruit_VS1053_FilePlayer(BREAKOUT_RESET, BREAKOUT_CS, BREAKOUT_DCS, DREQ, CARDCS);



    void setup() {
      Serial.begin(9600);
      Serial.println("Adafruit VS1053 Library Test");

      // initialise the music player
      if (! musicPlayer.begin()) {
         Serial.println(F("Couldn't find VS1053, do you have the right pins defined?"));
         while (1);
      }
      Serial.println(F("VS1053 found"));

    И постоянно получаю "Couldn't find VS1053, do you have the right pins defined?"

    В чем же может быть дело?
     
  2. grand

    grand Гик

    Никто не работал с этим шилдом (vs1053)?
    Были у кого-то проблемы?