Customised library (SOLVED)


Probably a simple question. If i want to customise a library can I keep a copy of it with the sketch that it is used in? i.e can i place it in the sketch's folder to prevent it from being overwritten? I have tried to put a library into a /libs/ directory with my sketch and referred to is as "./libs/somelibrary.h" in the includes section but it is not being picked up.

Thank you,


You can put the modified .h and .cpp file in the sketch folder.
In the .ino, change the include from:
#include <myLib.h>
#include “myLib.h”

Thank you. I will give it a try.

It worked, and I now understand the difference between <> and “” in include statements!