 */
 
 #include <OneWire.h>
-#include <PID_v1.h>
-#include <Thread.h>
-#include <ThreadController.h>
-#include <TimerOne.h>
+#include <PID_v1.h> // https://github.com/br3ttb/Arduino-PID-Library
+#include <Thread.h> // https://github.com/ivanseidel/ArduinoThread
+#include <ThreadController.h> // https://github.com/ivanseidel/ArduinoThread
+#include <TimerOne.h> // https://github.com/PaulStoffregen/TimerOne
 #include <DallasTemperature.h>
 
 #define RELAY_PIN 8   // Connect Digital Pin 8 on Arduino to ? on Relay Module

  Log.infoD("Input: ", _input); 
  Log.infoD("Output: ", _output); 

  Log.infoL("Heat ON: ", runtime); 
  digitalWrite(RELAY_PIN, LOW);
  while (millis() - _windowStartTime < runtime);
  
  Log.infoL("Heat OFF ", PID_INTERVAL - runtime); 
  digitalWrite(RELAY_PIN, HIGH);
  while (millis() - _windowStartTime < PID_INTERVAL);
}

/* 

PID controller for controlling temperature by either using a heater or a cooler
 
 # Temperature
 OneWire DS18S20, DS18B20, DS1822 Temperature Example

