# Arduino include problems

**URL:** <https://forum.arduino.cc/t/arduino-include-problems/1443767>\
**Category:** Programming\
**Created:** [May 12, 2026, 4:31pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767 "2026-05-12T16:31:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 12, 2026, 4:31pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/1 "2026-05-12T16:31:37Z")

</div>

Hi,

I'm going round in circles with Arduino libraries. Some code won't compile because of incorrect libraries, so I emptied all Arduino stuff, plus uninstalled Arduino. Then reinstalled it and tried again.

The libraries involve the screen, gps etc. I'm not a coder, and am using AI in the best way I can. This saves me keep asking forums for help, which can be annoying for you all.

Previously, I've worked though data sheets, and got PICs to use GPS, screens and other peripherals using SPI, which make a very long program. I have been badgered to use INCLUDES, which do work, and save lots of time, but they are behind the scenes, so it very difficult to check where problems lie. I used to learn my programs (more or less) so having no INCLUDEs weren't much of a problems.

Is there a way to write programs with no INCLUDEs?

C

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [May 12, 2026, 4:41pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/2 "2026-05-12T16:41:07Z")

</div>

> [@camerart](#):
>
> Is there a way to write programs with no INCLUDEs

- Sure, put all the code/files necessary in your project folder.  
Files with .ino extensions are compiled together.

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [May 12, 2026, 6:06pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/3 "2026-05-12T18:06:28Z")

</div>

Your other topic on the same subject deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

> [@How to get the best out of this forum](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966):
>
> See also [FAQ - Arduino Forum](https://forum.arduino.cc/faq) for general rules on forum behavior and etiquette. Hello, Welcome to the Arduino Forum. This guide explains how to get the best out of this forum. Please read and follow the instructions below. Being new here you might think this is having rules for the sake of rules, but that is not the case. If you don’t follow the guidelines all that happens is there is a long exchange of posts while we try to get you to tell us what we need in order to help you, which is frus…

It will help you get the best out of the forum in the future.

Thank you.

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [May 12, 2026, 6:07pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/4 "2026-05-12T18:07:48Z")

</div>

Please post a sketch that does not compile and the full error message that you get. Use code tags for both when posting them

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [May 12, 2026, 7:17pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/5 "2026-05-12T19:17:16Z")

</div>

> [@camerart](#):
>
> using AI in the best way I can. This saves me keep asking forums for help

Did it help?

Libraries are convenient but sometimes necessary to communicate with your devices. Having an external library makes your code clean to read by referencing only needed parts of the library.

> [@camerart](#):
>
> they are behind the scenes, so it very difficult to check where problems lie

- Copy the library filename, for example: `blink.h`
- Search on `blink.h` and follow the link to the library. [Blink/Blink.h at master · Arduino-CI/Blink · GitHub](https://github.com/Arduino-CI/Blink/blob/master/Blink.h)
- In the .H file, you will see what the library uses when called.
- in the .CPP file of the library, you will see the functions of the library.
- You will also have a `/examples` directory to understand how the author wrote the library to be used.
- Inside your IDE, when you have a question of a library function, "right-click" your mouse on the function and select "Go to definition"

Libraries have a ... library ... of information contained within.

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 12, 2026, 8:03pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/6 "2026-05-12T20:03:41Z")

</div>

Hi B,

The other thread was closed through lack of use..

C

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 12, 2026, 8:09pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/7 "2026-05-12T20:09:48Z")

</div>

Hi X,

Since posting this, I tried the AI again, and it found an error in the library. Where it said PlusPlus it should have been Plus and in the library was an extra file, which needed to be deleted. This got the sketch to compile.

For me this is pretty complicated, and it's only luck and repetition, that I can sometimes succeed with this type of problem.

As you can see by the earlier comment, things take me a long time to get working.

Thanks,

C.

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [May 12, 2026, 8:18pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/8 "2026-05-12T20:18:13Z")

</div>

> [@camerart](#):
>
> tried the AI again, and it found an error in the library.

What library? Bracccio? [GitHub - arduino-libraries/Arduino\_Braccio\_plusplus · GitHub](https://github.com/arduino-libraries/Arduino_Braccio_plusplus)

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [May 12, 2026, 8:18pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/9 "2026-05-12T20:18:50Z")

</div>

> [@camerart](#):
>
> lack of use.

"Lack of interest."

Lack of use waits for six months of inactivity, then auto-closes.

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 12, 2026, 8:23pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/10 "2026-05-12T20:23:10Z")

</div>

> [@camerart](#):
>
> using AI in the best way I can. This saves me keep asking forums for help

Did it help?

Hi X,

I am unable to program, and previously I used a couple of forums, where 'I' was able to do amazing things with PICs, from members from all around the world. I had to abandon the main project after approx 6 years. I started this much smaller project, since I found AIs, which allows someone like me who has coding difficulies, to carry on with this interesting hobby.

C

---

<div class="post-metadata">

**Author:** ![xfpd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/xfpd/32/1120236_2.png) [@xfpd](https://forum.arduino.cc/u/xfpd)\
**Post date:** [May 12, 2026, 8:25pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/11 "2026-05-12T20:25:17Z")

</div>

> [@camerart](#):
>
> I am unable to program

It just takes time, as you have shown. Ask any question.

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [May 12, 2026, 8:25pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/12 "2026-05-12T20:25:37Z")

</div>

> [@camerart](#):
>
> I am unable to program

Think of all the amazing things you could do if you learned to program !

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 12, 2026, 8:27pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/13 "2026-05-12T20:27:33Z")

</div>

Hi X,

It is the Heltec ESP32 libraries.

C

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [May 12, 2026, 8:31pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/14 "2026-05-12T20:31:18Z")

</div>

That sounds more like a board file than a library. If so you do not #include it in a sketch, rather you install it in the Arduino IDE

Better than that, if you use IDE 2.x then you probably do not have to install anything since ESP32 support is already present

Please provide a link to the library that you had problems with

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 12, 2026, 10:03pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/15 "2026-05-12T22:03:40Z")

</div>

Hi B,

It may be more sensible, if I say the libraries for Heltec 32 V3. I use a Ublox GPS as an input, and I've tried different selections of library, but it's never been quite straight forward. I had it almost working with heltec\_unofficial.h and TinyGPSPlus. I don't think its straight forward, as perhaps versions on units and library changes make the combination not so easy.

C

---

<div class="post-metadata">

**Author:** ![westfw](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/westfw/32/213443_2.png) [@westfw](https://forum.arduino.cc/u/westfw)\
**Post date:** [May 12, 2026, 10:10pm UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/16 "2026-05-12T22:10:12Z")

</div>

> [@camerart](#):
>
> Is there a way to write programs with no INCLUDEs?

No, not realistically. Unless you want to write GPS and display code from scratch.

---

<div class="post-metadata">

**Author:** ![UKHeliBob](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/ukhelibob/32/215663_2.png) [@UKHeliBob](https://forum.arduino.cc/u/UKHeliBob)\
**Post date:** [May 13, 2026, 6:37am UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/17 "2026-05-13T06:37:11Z")

</div>

Without seeing your full sketch and error messages it is not possible to give you any definitive help

---

<div class="post-metadata">

**Author:** ![sterretje](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/sterretje/32/391294_2.png) [@sterretje](https://forum.arduino.cc/u/sterretje)\
**Post date:** [May 13, 2026, 6:39am UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/18 "2026-05-13T06:39:25Z")

</div>

You will not get a solution if you don't post code and error messages (please use code tags as described in [https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#posting-code-and-common-code-problems](https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#posting-code-and-common-code-problems)).

I know that you did find a solution but your solution might bite you later; e.g. in another project where the file that you deleted or renamed is needed.

In case you feel that you will embarrass yourself when posting your code, don't feel embarrassed. We have all made clumsy mistakes in our learning process.

The only way you will learn is by showing, asking and accepting the given advice; most helpers here are quite gentle when it comes to helping so don't be afraid.

Your use of AI might also shoot you in the foot; it will provide a solution that might or might not work. You might not learn anything from it if you're the type of person that e.g. just drops suggested code in a project instead of analysing how it's working.  
If you do analyse provided solutions and understand them it's okay to use the provided solution(s); if you don't understand them, don't use them.

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 13, 2026, 6:48am UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/19 "2026-05-13T06:48:11Z")

</div>

Hi W,

I looked at some old pic code, of an abandoned long project, and I cans see why I abandoned it (It was long and complicated and was 'doing my head in') So I can see why includes are used, but because I can't see them, then something doesn't work, is it in my visual code or the includes.

Simply I'm not a good programmer, and look for the easiest way, which of course is never simple ;)

C

---

<div class="post-metadata">

**Author:** ![camerart](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/camerart/32/216807_2.png) [@camerart](https://forum.arduino.cc/u/camerart)\
**Post date:** [May 13, 2026, 6:52am UTC](https://forum.arduino.cc/t/arduino-include-problems/1443767/20 "2026-05-13T06:52:16Z")

</div>

Hi S,

There are 3x codes all talking to each other, with peripherals, that work in myserious way, so I have to 'feel' my way through this project.

I'm not embarrased to post code, but I'm aware of time and effort wasting.

In order to test what I'm doing you would need 3x Heltec v3s.

'aI' got one end to work yesterday, and will work on the other two.

I'll post the codes later.

C

[Next page](https://forum.arduino.cc/t/arduino-include-problems/1443767.md?page=2)
