I have written some private libraries (each has one .h and one .cpp file) , and placed them in the lib folder, in the way it is suggested in the README. So far everything works fine, i can include all the headers without compiling errors.
Now, the tricky part: in each of this libraries i need to access to variables specified in another (global) config.h, in which i have specified for example the used Pins of my chip. When i include this config.h (that is also placed in the lib folder) in the libraries, i can’t use the defined values, although I have included the config.h file…
WHY?! and how to get around this?? I simply get the error that the variables are not defined in this scope…
I have no idea what the problem is here, and would be thankful for some help!