Go Down

Topic: Include file location (Read 876 times) previous topic - next topic


Only if you want to use the Sketch >> Import Library... properly. If you don't use it, it's not necessary.


You could store all you settings in one 'library' and then include only what you need. You have to make it a library because of the way Arduino handles paths - that's why you have to include all used libraries in the sketch even when you don't use them directly in the sketch but in another file included in the sketch.

You could make a library called MyLibrary located in a subdirectory named MyLibrary (in the user libraries path) containing all your header files. Importing this library includes all header files in the sketch making them usable in other files, too. Just remove the not needed from the sketch.
loved the 68000 assembler back then and now I have to deal with THIS 8 bit thingy

Go Up