Page 1 of 1

Custom Libs

Posted: 20 Aug 2019 16:40
by Gotty101
Hi, after a bit of a break doing other projects ive come back to my home automation project. But ive got a question regarding the ZUno compiler.

do any custom libs have to always go into the following path "C:\Users\?????\Documents\Arduino\libraries"

The reason i ask is ive done a few arduino projects and ive put them in a sub folder within the current project ie
"src\CustomLib\CustomLib.h"

The reason i ask is sometimes i create project specific libs to break up the main code, so i would not normally want them to be a global class as they will only ever be for that project?

Many thanks

Trev

Re: Custom Libs

Posted: 31 Aug 2019 01:24
by PoltoS
Your specific lib can be in the project folder. This one is searched prior to the global lib folder.