I'm currently writing an Arduino library and I want to include files in a subdirectory within the library folder. More specifically, I want the files to be accesible from the Arduino sketch.
This is my directory structure:
MyLib/MyLib.cpp
MyLib/MyLib.h
MyLib/Extra/SomeNiceFunctions.cpp
MyLib/Extra/SomeNiceFunctions.h
This is how I'm trying to include the file:
#include <MyLib.h>
#include <Extra/SomeNiceFunctions.h>
Obviously this is wrong because of the way the IDE is including the library folders. What else should I try? I could split the Extra folder to another "Library" (another folder) but that's not what I'm after.
EDIT: This is the error I'm getting undefined reference to 'font8x8'
. This is defined in Extra/SomeNiceFunctions.h
.