Hello every one. I wanna install tmrpcm library. I find zip file on github. I begin download then i install from arduino (include library part). It is successfully installed. But when I run my code, i get this error 'tmrpcm.h no such file or directory'.How to fix?
How exactly did you install the library ?
Please post your full sketch, using code tags when you do
Does the file exist in the libraries directory of the sketchbook? Note that includes can be case-sensitive; so #include <TMRpcm.h>
Yeah it is the same directory. But it is as folder in arduino/libraries not zip. Yeah my code is begin like this
#include <TMRpcm.h>
#include <SD.h> // need to include the SD library
#include <SPI.h>
#define SD_ChipSelectPin 4 //using digital pin 4 on arduino nano 328, can use other pins
TMRpcm tmrpcm;
firstly, I download from github, then enter arduino. Then sketch/include library/add ZIP. library then i select the zip file which is i download from github.
I download from via this link- GitHub - TMRh20/TMRpcm: Arduino library for asynchronous playback of PCM/WAV files direct from SD card. Arduino Uno,Nano,Mega etc supported
Please post the full error message copied from the IDE using the "Copy error message" button and post it here using code tags to make it easier to read
The order of the #includes may be particular --
#include <SD.h>
#define SD_ChipSelectPin 4
#include <TMRpcm.h>
#include <SPI.h>
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.