diff --git a/examples/Example1_PlayFile/Example1_PlayFile.ino b/examples/Example1_PlayFile/Example1_PlayFile.ino index 09f90e3..7537216 100644 --- a/examples/Example1_PlayFile/Example1_PlayFile.ino +++ b/examples/Example1_PlayFile/Example1_PlayFile.ino @@ -24,7 +24,7 @@ //For boards that support software serial #include "SoftwareSerial.h" -SoftwareSerial serialMP3(6, 4); //RX on Arduino connected to TX on MY1690's, TX on Arduino connected to the MY1690's RX pin +SoftwareSerial serialMP3(5, 2); //RX on Arduino connected to TX on MY1690's, TX on Arduino connected to the MY1690's RX pin; format: SoftwareSerial mySerial(rx, tx) //For boards that have multiple hardware serial ports //HardwareSerial serialMP3(2); //Create serial port on ESP32: TX on 17, RX on 16 diff --git a/src/SparkFun_MY1690_MP3_Library.cpp b/src/SparkFun_MY1690_MP3_Library.cpp index d2ed610..e4dd713 100644 --- a/src/SparkFun_MY1690_MP3_Library.cpp +++ b/src/SparkFun_MY1690_MP3_Library.cpp @@ -44,7 +44,8 @@ bool MY1690::begin(Stream &serialPort, uint8_t pin) // getVersion returns the rough interpretation of this string in int form. See getNumberReponse for more info. uint16_t MY1690::getVersion(void) { - commandBytes[0] = MP3_COMMAND_GET_VERSION_NUMBER; + commandBytes[0] = MP3_COMMAND_PLAY; + // commandBytes[0] = MP3_COMMAND_GET_VERSION_NUMBER; sendCommand(1); return (getNumberResponse());