#Include on the Arduino Web editor. Where do the header files need to be?

Sorry, this seems like a very basic question, yet I can't find an answer, I am using the Arduino web editor mostly these days.

I downloaded a vendors LCD ( GC9A01 Round LCD) code samples. The #include "LCD_Driver.h" (or any other header files the ino uses) can't be found. I imported them into the same folder that I imported the *.ino file to. The tabs across the top show it is there. No misspelling. Does the web editor not look there? I guessed maybe I needed to import to my library; but it won't let me just import a *.h file. Do I just need to put it in a Zip file?

is the include statement

#include "LCD_Driver.h"

if so it should work
or

#include <LCD_Driver.h>

where the compiler looks in the default library directories for the files
copy and upload the compiler error messages (as text)

Well, this morning when I opened up the editor fresh/new it just worked with no changes.
Guess I just needed to close and reopen to get things strightened out :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.