H File integration

Hi, I need help.
I'm new to Arduino IDE
I creating a program to control a stepper motor through a TM1638 Led & Key circuit, and it works, but... Now I need to install many files and files.
IDE created a folder and installed the main file
I created/copied the and files in the same folder with the file
Created as a text file and renamed .h or .cpp extension
When I open my program I can see my and files as tabs, but... when I Precompile my program, I get an Fatal Error, Cant find (xxx) file or folder
I tried everything I could think of, No Go
Thank you for the help

Welcome to the forum

Check the names of the files very carefully because the filename used in the #includes must match the names of the .h files exactly as must the names of the .cpp files

Are you using #include <libraryFile.h> or #include "libraryFile.h" in the sketch ?

Hi, the file names are spelled right including upper case an lower case letters
The #include <fileName.h> or #include <TM1638QYF.h> is written as such.
By the way when do I use the syntax #include <TM1638QYF.h> or #include "TM1638QYF.h"
I guess I need to follow good guide lines.
I built 2 Electronic Lead Screws with CLOUGH42, and they work fine
So now I want to make my own projects, since I master machining, electrics and electronics, my natural rails point to CPP language. but the blink blink tutorial bores me to sleep every time.

If you use the version with quotation marks then the compiler will first look in the sketch folder for the library then the standard library locations, but if you use the other version then the compiler will only look in the standard library locations

That is why I asked which version you were using

@agelinas Rather than PM me, please update this topic with your reply

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