What i want to achieve is rather simple.
I build a program for my Arduino for which i use alongside the .ino file also .cpp and .h files. For these .cpp and .h files I build test cases with ArduinoUnit library.
In order to work neatly (the way i learned it at school) I have this folder structure: (note: the names have been changed for this example)
MyArduino/Com.cpp MyArduino/Com.h MyArduino/Inter.cpp MyArduino/Inter.h MyArduino/MyArduino.ino MyArduino/Testing/Testing.ino
In Testing.ino I want to include Com.h and Inter.h. I tried to achieve this like so:
I tried several other ways like using '\' instead of '/' or "../../Com.h" or "./../Com.h"
Arduino doesn't seem to like them. He keeps complaining "no such file or directory". I also checked for spelling, it is correct.
Anybody any ideas? They are very welcome.