🎁📬❄️📦Adafruit Holiday Shipping Deadlines 2019: Please place all UPS 2 Day orders by 11am Monday, December 16 📦❄️📬🎁
0

Location of Include files
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

Location of Include files

by hextejas on Thu Nov 21, 2019 9:41 am

I am getting tired of the compiler telling me that it can't find a file.

So, i am looking for recommendations for a better way to store include files.

I am doing work with both an Arduino and a Nodemcu.
I am thinking of 3 folders at the same level.
Arduino, Nodemcu, Library.

Arduino and Nodemcu will contain the app source code and library will contain any include files.
Will the compiler be able to find all of the include files.
#filename.h#
<filename.h>
filename.h
filename
Anything else.

How do others do this ?

Could someone point me to some reading on this ?

Thanks

hextejas
 
Posts: 10
Joined: Sun Feb 11, 2018 9:51 am

Re: Location of Include files

by oesterle on Thu Nov 21, 2019 2:53 pm

Hi, hextejas!

Can you post your source code? You can paste it in, highlight it, then click the [ CODE ] button to format it nicely.

Cheers,

Eric

oesterle
 
Posts: 725
Joined: Tue Sep 17, 2013 11:32 pm

Please be positive and constructive with your questions and comments.