Custom Libs

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Gotty101
Posts: 5
Joined: 27 Aug 2018 19:29

Custom Libs

Post by Gotty101 » 20 Aug 2019 16:40

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

User avatar
PoltoS
Posts: 4989
Joined: 26 Jan 2011 19:36

Re: Custom Libs

Post by PoltoS » 31 Aug 2019 01:24

Your specific lib can be in the project folder. This one is searched prior to the global lib folder.

Post Reply