Skip to main content

Questions tagged [header]

1 vote
0 answers
1k views

While this might appear to be a duplicate of this question Loading local libraries it isn't, and for one very simple reason. That question deals with libraries that are expected to be used by ...
dgnuff's user avatar
  • 111
2 votes
5 answers
399 views

I had a really big .ino file and I decided to break it down into sub-files. So I had the .ino file, the globals.h file and the functions.h file. I moved all the global vars and functions to their ...
user1584421's user avatar
  • 1,435
2 votes
1 answer
820 views

I am trying to have a header file to handle all my pin definitions and pinmodes. This is the header: #ifndef __HEADER_TESTER__ #define __HEADER_TESTER__ #include <SoftwareSerial.h> const byte ...
user1584421's user avatar
  • 1,435
0 votes
2 answers
241 views

A question I have long had regards an interaction between #define statements and a library header include. I've seen several Arduino libraries use this rather convenient configuration system where you ...
user avatar
0 votes
1 answer
4k views

For a larger sketch, I have separated a chunk of code in a separate .cpp file #include "msg.h" #include <Arduino.h> #include <HTTPClient.h> #include <ArduinoJson.h> void ...
Zaffresky's user avatar
  • 183
1 vote
1 answer
2k views

I want to include a function in my sketch I moved to a .h file. I did it as follows: My code: #include "header.h" void setup() { fct(); } void loop() { } My header: #include "...
Spyro 999's user avatar
0 votes
3 answers
8k views

So I started typing out this question, but in the process of taking screenshots and looking up sources for the question I figured out the answer :P That said, this problem has been a snag for me for a ...
Chris Schmitz's user avatar
1 vote
2 answers
301 views

I want to call them “words”, but I’m uncertain if this is how they are referred to in documentation for the use of a header board that might plug into an ardino board. So if you have a sequence of ONs ...
leeand00's user avatar
  • 113
4 votes
1 answer
647 views

Q: What is the logic behind Arduino inlining HardwareSerial::_rx_complete_irq() for receiving serial data (but NOT _tx_udr_empty_irq()), and when is it advisable? From the bottom of the HardwareSerial ...
Gabriel Staples's user avatar