 #include <Thread.h>
 #include <ThreadController.h>
 #include <TimerOne.h>
+#include <DallasTemperature.h>
 
 #define RELAY_PIN 8   // Connect Digital Pin 8 on Arduino to ? on Relay Module
 #define SENSOR_PIN 10

  _controller.run();
}

SensorThread tempSensor = SensorThread();

void setup(void) {
  Serial.begin(9600);
  pinMode(RELAY_PIN, OUTPUT);
  tempSensor.pin = SENSOR_PIN;
  tempSensor.setInterval(10000);
  _controller.add(&tempSensor);
  Timer1.initialize(10000000);
  Timer1.attachInterrupt(timerCallback);
  Timer1.start();

  _pid.SetMode(AUTOMATIC); //turn the PID on
}

void loop(void) {
  float tempOrErrow = _tempSensor.value;
  if (tempOrErrow <= ERROR_RESPONSE) {
    Log.errorF("Code: ", tempOrErrow);
    return;
