-// Include these libraries
 #include "Thermistor/Thermistor.h"
 #include "Ubidots/Ubidots.h"
-#include "SparkTime/SparkTime.h"
-#include "elapsedMillis/elapsedMillis.h"
 #include "pid/pid.h"
 #include "Adafruit_SSD1306/Adafruit_SSD1306.h"
 

//Specify the links and initial tuning parameters
PID electricPID(&temp0, &output, &setTemp0, 2, 5, 1, PID::DIRECT);

unsigned long windowStartTime;
bool cook = false;
elapsedMillis timeElapsed;

void setup()   {
  Serial.begin(9600);


void tempHandler() {

    if (lastPost + POST_RATE < millis()) {
        lastPost = millis(); // Reset timer

        // Get temps in fahrenheit
        temp0 = Thermistor0.getTempF(true);
