"import" not identified

Hi everyone…

I am using a code to import photos from a camera

the code is in the attachments

I have one line with a problem which includes “import”

I am kind of new to arduino … I appreciate your help

thanks :slight_smile:

sketch_oct30a.ino (6.32 KB)

"import" is Java, not C++. You're using the wrong tool to compile your code.

Everything from line 126 onwards is not part of your sketch. At a guess, it's the source for a Processing application, perhaps one that is designed to be run while the sketch is running on a connected Arduino.