 #include <ESP8266mDNS.h>
 #include "SSD1306.h" // SSD1306
 #include "Adafruit_MCP23017.h" //Adafruit-MCP23017-Arduino-Library
+#include "SparkFunTMP102.h" // Used to send and recieve specific information from our sensor
 
  //CONSTANTS/VARIABLES/GLOBALS-------------------------------------------------------------
+const int ALERT_PIN = 5; //TMP102 alert pin
+TMP102 sensor0(0x48); // Initialize sensor at I2C address 0x48
+
 Adafruit_MCP23017 mcp; //Adafruit-MCP23017-Arduino-Library
 SSD1306  display(0x3c, D3, D5); // SSD1306 Pin Assignments
 MDNSResponder mdns;

    Serial.println("RELAY 3 ON");
    delay(500);
  });
  server.on("/relay3Off", [](){
    server.send(200, "text/html", webPage);
    //Turn off RELAY
    mcp.digitalWrite(2, HIGH);

void loop() {
  display.clear(); //wipe display clean to refresh it
  updateIP(); //function call for display update
  updateTemp(); //fuction call for TMP102 temp 
  display.display(); //write display buffer
  server.handleClient(); //routine for webserver
  delay(50); // loop governor
}
