to avoid the error "OneWire.cpp:122:23: error: 'delayMicroseconds' was not declared in this scope" add the line #include "Arduino.h" to OneWire.cpp the result is: "#include "OneWire.h" #include <Wire.h> //#include "Arduino.h" // Constructor with no parameters for compatability with OneWire lib OneWire::OneWire()"... ecc