I converted an MP3 sound effect (5 seconds long) to WAV to play it out of a Teensy3.2 with speaker connected to PWM output pin. The TMRPCM library specifically talks about Arduino AVR boards, but doesn't mention Teensy. On the PJRB (Teensy) website, the only info I can get is for their high quality audio shield with extensive programming. I just want to play the simple WAV file from the SD card where it is located. (I can display images on a GLCD from SD card, so not a problem). The problem is when I compile my sketch I get many errors related ONLY to the the library. If I don't include the TMRPCM library, there are no errors. I DON'T NEED high quality sound! Any ideas? Another library perhaps, or tweaks to existing? I can post the errors if necessary, they seem to be related to timers not being declared in the .h file.
Asked
Active
Viewed 163 times