Questions tagged [header]
The header tag has no summary.
9 questions
1
vote
0
answers
1k
views
Arduino and Arduino-Cli how to specify include paths?
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 ...
2
votes
1
answer
816
views
Setting pinmode() in header file
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 ...
0
votes
1
answer
4k
views
variable or field declared void Error
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 ...
0
votes
3
answers
8k
views
cannot open source file "WProgram.h" in VSCode
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 ...
4
votes
1
answer
644
views
What is the logic behind Arduino inlining `HardwareSerial::_rx_complete_irq()` for receiving serial data (but NOT `_tx_udr_empty_irq()`)?
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 ...