Skip to main content
edited body
Source Link
Null
  • 7.7k
  • 17
  • 37
  • 48

Try #include <letters.h>#include <letters.h> with "<"< and ">"> instead of double quotes.
The

The C++ standard says #include "header"#include "header" searches the header in the same folder as the .cpp and then in the include paths, while #include <header>#include <header> only searches the include paths. But the Arduino "language" is not 100% C standards compliant.
If

If it still doesn't work, it would mean you don't have letters.hletters.h in your libraries folder. Either add it there or copy it to your sketch folder (together with all other source files in that library), restart (all instances of) the arduinoArduino IDE and #include "letters.h"#include "letters.h" (with the double quotes) so it is included from your sketch folder.

Try #include <letters.h> with "<" and ">" instead of double quotes.
The C++ standard says #include "header" searches the header in the same folder as the .cpp and then in the include paths, while #include <header> only searches the include paths. But Arduino "language" is not 100% C standards compliant.
If it still doesn't work, it would mean you don't have letters.h in your libraries folder. Either add it there or copy it to your sketch folder (together with all other source files in that library), restart (all instances of) the arduino IDE and #include "letters.h" (with the double quotes) so it is included from your sketch folder.

Try #include <letters.h> with < and > instead of double quotes.

The C++ standard says #include "header" searches the header in the same folder as the .cpp and then in the include paths, while #include <header> only searches the include paths. But the Arduino "language" is not 100% C standards compliant.

If it still doesn't work, it would mean you don't have letters.h in your libraries folder. Either add it there or copy it to your sketch folder (together with all other source files in that library), restart (all instances of) the Arduino IDE and #include "letters.h" (with the double quotes) so it is included from your sketch folder.

Source Link
Mishony
  • 321
  • 2
  • 12

Try #include <letters.h> with "<" and ">" instead of double quotes.
The C++ standard says #include "header" searches the header in the same folder as the .cpp and then in the include paths, while #include <header> only searches the include paths. But Arduino "language" is not 100% C standards compliant.
If it still doesn't work, it would mean you don't have letters.h in your libraries folder. Either add it there or copy it to your sketch folder (together with all other source files in that library), restart (all instances of) the arduino IDE and #include "letters.h" (with the double quotes) so it is included from your sketch folder.