   //Console.println("Interrupt");
 }
 
+//Main loop
 void loop() {
   char tempSetBuf[8];
    if (Bridge.get("setTempF", tempSetBuf, 8) > 0) {

  Written by Limor Fried/Ladyada for Adafruit Industries.  
  BSD license, all text above must be included in any redistribution
 ****************************************************/

#include <SPI.h>
#include "Adafruit_MAX31855.h"
#include <Bridge.h>
#include <Console.h>
#include <PID_AutoTune_v0.h>
#include <PID_v1.h>
#include <TimerOne.h>

// So we can save and retrieve settings
#include <EEPROM.h>

#define RelayPin 7

// ************************************************
// WIFI and MQTT
// ************************************************
WiFiClient espClient;
PubSubClient client(espClient);

const char* ssid = WIFI_SSID;
const char* password = WIFI_PASSWD;
const char* mqtt_server = "mosquitto.localdomain";
long lastMsg = 0;

// ************************************************
// PID Variables and constants
// ************************************************
 
