Subdirectories using Particle Dev on my computer

Hi, I have been using the Particle Dev IDE on my desktop but have run into an issue that needs resolution. I am not able to include .h files that are in sub-directories. I have tried numerous different scenario’s with no luck. Just to get on with my current project I have moved all .cpp and .h files into the main directory. I am able to compile and flash my Photon this way but will eventually need to use sub-directories.
Does anyone have any help to offer for this problem?

Thanks,
Steve

I had the same problem , it flattens then out !!!
You don’t include your folder just your h file
So if it`s /whatever/whatever.h , just use #include"whatever.h"

1 Like