All Questions
3 questions
2
votes
2
answers
5k
views
Undefined reference in Eclipse of .h and .cpp files
I'm trying to create a linked list for use on the Arduino, in the Eclipse IDE with the Arduino/Sloeber plugin. The linked list is written in a .h and .cpp file, and included locally in the project.
...
6
votes
2
answers
1k
views
How can I adapt the DallasTemperature library to accept another 1-Wire class?
A commonly used library is the DallasTemperature library, used to access DS18B20 sensors on a 1-Wire bus. When creating a DallasTemperature object you pass a reference to a OneWire object. OneWire can ...
6
votes
1
answer
2k
views
Why do I need to include libraries used in other libraries?
I have a simple library which uses another library.
Here is the header:
#ifndef __DERIVEDCLASS_H__
#define __DERIVEDCLASS_H__
#include <HardwareSerial.h>
class DerivedClass
{
private:
...