An #include statement written as “fileneme.h” will find filename.h in the current sketch directory.
On the other hand, a #include <filename.h> will find the file where?
What directories does arduino use for header files that are not inside the sketch folder and how can a new header file be added to a sketch without the .h file being in the sketch folder?
Here is what I tried to do:
Then, in c:\users\mike\documents\arduino\libraries\ the file myheader.h was inserted. Didn’t work
Then, in c:\users\mike\documents\arduino\libraries\myheader\ the file myheader.h was inserted. Didn’t work
Then in the c:\users\mike\documents\arduino\libraries\myheader\SRC\ was added and the file myheader.h was inserted there. Didn’t work ether.
Where does arduino search for these and how can you add one?