Hi folks.
All of a sudden my well tried and tested sketch for my Rogue mp3 shield will not up load. Any help would be wonderful.... Code and error messages below.
#include <NewSoftSerial.h>
#include <RogueMP3.h>
NewSoftSerial rmp3_serial(6, 7);
RogueMP3 rmp3(rmp3_serial);
void setup()
{
// Serial.begin(9600); //
rmp3_serial.begin(9600);
rmp3.setloop(0);
rmp3.sync();
rmp3.playfile("/track016.mp3");
}
void loop()
{
}
In file included from working_on_a_buidling.ino:1:
/Users/fasterthanlight/Documents/Arduino/libraries/NewSoftSerial/NewSoftSerial.h:71: error: conflicting return type specified for 'virtual void NewSoftSerial::write(uint8_t)'
/Users/fasterthanlight/Downloads/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
In file included from working_on_a_buidling.ino:2:
/Users/fasterthanlight/Documents/Arduino/libraries/RogueMP3/RogueMP3.h:155: error: conflicting return type specified for 'virtual void RogueMP3::write(uint8_t)'
/Users/fasterthanlight/Downloads/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
working_on_a_buidling:5: error: no matching function for call to 'RogueMP3::RogueMP3(NewSoftSerial&)'
/Users/fasterthanlight/Documents/Arduino/libraries/RogueMP3/RogueMP3.h:110: note: candidates are: RogueMP3::RogueMP3(Stream&)
/Users/fasterthanlight/Documents/Arduino/libraries/RogueMP3/RogueMP3.h:103: note: RogueMP3::RogueMP3(const RogueMP3&)