Hello,
I am looking for some assistance on trying to get an MP3 file to play during the start of my program. I would just like the sound to come from my computer. It really doesn't have anything to do with the arduino directly. I'm using the arduino to control Neopixle lights.
Here is what i tried with no success for playing an MP3 file on the start of my program.
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE * fp;
fp = fopen ("file.mp3", "r");
fclose(fp);
return(0);
}
I understand that "r" is probably the wrong thing to use because it just reads a file. I tried looking around this forum with but couldn't find anything relating to my issue.
Thanks for the help!