I am having a hell of a time getting the MP3Trigger trigger library to work within my arduino program. I am trying a simple sample application and keep getting the same error PC and on MAC.
error: WProgram.h: No such file or directory
I have tried changing the < > to " " but that doesn’t help. Are any of you seeing this error?
Any help would be much appreciated,
Joe
#include <MP3Trigger.h>
MP3Trigger trigger;
void setup()
{
//start serial communication with the trigger (over Serial)
trigger.setup();
//start looping TRACK001.MP3
trigger.setLooping(true,1);
}
void loop()
{
//necessary to receive signals from trigger
trigger.update();
}
Yeah, this is a gripe I have about the 1.0 upgrade. it seems to have broken a lot of libraries. While it’s easy to blame the library developers, it seems like bad form to me to force something like this - especially since Arduino is used a lot for learning. Why not include a WProgran.h that had “#include arduino.h”