Go Down

Topic: Adding new libraries on Netbeans (Read 370 times) previous topic - next topic

GabrielVilella

Hello,

I've just started using Netbeans to program my Arduino Mega.
I've created new libraries, but when I try to run the program I get the following error message:

MyClassName.cpp:2:30: fatal error: MyClassName.h: No such file or directory

I could send the library's files to the default Arduino folder, but I want to keep
the header and cpp file inside the project folder to keep everything organized.

Any suggestion?
Thanks

GabrielVilella

SOLVED

I used #include "LedRGB.h" instead of
#include <LedRGB.h>

Go Up