When attempting to compile my program with the onewire library I am getting this error. I have created the library directories and added the keyword file.
o: In function __static_initialization_and_destruction_0(int, int)': undefined reference to
OneWire::OneWire(unsigned char)
Anyone know how to fix it?
#include <OneWire.h>
OneWire ds(10); <------------ Commenting out this line makes the program compile
void setup() {
}