Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
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. ...
davidhood2's user avatar
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 ...
Cybergibbons's user avatar
  • 5,400
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: ...
Cybergibbons's user avatar
  • 5,400