Library folder structure?

Hello,

I am trying to create a library for the Arduino. Currently I have all my files in a folder in ..sketches\library\mylibrary. I put some of the files into folder inside the mylibrary folder, like so ..sketches\library\mylibrary\mysubfolder. In the sketch I try to reference these files as shown below, but I get a compiler error fileinsubfolder.h No such file or directory. Is it not possible to have subfolders? Or do I need to change my include lines? I am using Arduino 1.0 IDE.

#include "mylibrary.h"
#include "fileinsubfolder1.h"
#include "fileinsubfolder2.h"

Thanks,

-diesel

#include <mysubfolder/fileinsubfolder1.h>

You might want to consider reading this article:

Thanks for the replies, I will take a look at the library tutorial. I tried the #include <mysubfolder/fileinsubfolder1.h> and it worked like a charm.

-diesel