I am a NewBee and I would like some direction.
Where does self-generated files with identifier 'H & CPP' go so the compiler recognises it under #include??
Is a path created or a specific file location used?
Details would be appreciated.
Thanks
I am a NewBee and I would like some direction.
Where does self-generated files with identifier 'H & CPP' go so the compiler recognises it under #include??
Is a path created or a specific file location used?
Details would be appreciated.
Thanks
If you would like to know all the places the compiler searches for include files and object files, just turn on "Show verbose output during compilation". If you would like to know where to place the .h and .cpp files for your sketch, use a new tab for each file.
CybernautWA:
I am a NewBee and I would like some direction.Where does self-generated files with identifier 'H & CPP' go so the compiler recognises it under #include??
Is a path created or a specific file location used?
Details would be appreciated.
Thanks
Library files go in a folder with the same name as the.h and .cpp file. That folder goes in the libraries folder of your sketches folder. You can see where the sketches folder is if you are not sure by looking at File/Preferences in the IDE.
After creating the library folder and copying the .h and .cpp files to it you need to stop/start the IDE. The library should then be available in Sketch/Import Library in the IDE.