Multi file arduino sketch

works for me:

  • aditional files save as '.h' in the project directory
  • in the project '.ino' file write the include definition for this files:

#include <mylib1.h> //< > file in the library folder
#include "myfile1.h" // " " file in the project folder

all .h files in the project directory are opened with the project file in other tabs.
include order prevent compilation order