   </body>\
 </html>",
 
-		hr, min % 60, sec % 60
-	);
-	server.send ( 200, "text/html", temp );
-	digitalWrite ( ledWiFi, 0 );
+    hr, min % 60, sec % 60
+  );
+  server.send ( 200, "text/html", temp );
+  digitalWrite ( ledWiFi, 0 );
 }
 
 void handleNotFound() {
-	digitalWrite ( ledWiFi, 1 );
-	String message = "File Not Found\n\n";
-	message += "URI: ";
-	message += server.uri();
-	message += "\nMethod: ";
-	message += ( server.method() == HTTP_GET ) ? "GET" : "POST";
-	message += "\nArguments: ";
-	message += server.args();
-	message += "\n";
-
-	for ( uint8_t i = 0; i < server.args(); i++ ) {
-		message += " " + server.argName ( i ) + ": " + server.arg ( i ) + "\n";
-	}
-
-	server.send ( 404, "text/plain", message );
-	digitalWrite ( ledWiFi, 0 );
+  digitalWrite ( ledWiFi, 1 );
+  String message = "File Not Found\n\n";
+  message += "URI: ";
+  message += server.uri();
+  message += "\nMethod: ";
+  message += ( server.method() == HTTP_GET ) ? "GET" : "POST";
+  message += "\nArguments: ";
+  message += server.args();
+  message += "\n";
+
+  for ( uint8_t i = 0; i < server.args(); i++ ) {
+    message += " " + server.argName ( i ) + ": " + server.arg ( i ) + "\n";
+  }
+
+  server.send ( 404, "text/plain", message );
+  digitalWrite ( ledWiFi, 0 );
 }
 
 void handleTemperature() {

#include "Arduino.h"
#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <ESP8266mDNS.h>
#include <ESP8266WiFiMulti.h>
#include "Adafruit_HDC1000.h"
#include <Wire.h>

Adafruit_HDC1000 hdc = Adafruit_HDC1000();
ESP8266WiFiMulti wifiMulti;
ESP8266WebServer server ( 80 );

// Set SDA and SDL ports
const int hdc_sda = 14;
const int hdc_scl = 2;

// Set WiFi constants
const char *ssid = "@400SoAve#";
const char *password = "589ShU!$305";
//const char ssid[] = "theNile";
//const char password[] = "stereo!3";

const char *dnsName = "esp8266-lee";
// Set which LEDs are going to be used.
const int ledWiFi = 16;

void handleRoot() {
	digitalWrite ( ledWiFi, 1 );
	char temp[600];
	int sec = millis() / 1000;
	int min = sec / 60;
	int hr = min / 60;

	snprintf ( temp, 600,

"<html>\
  <head>\

  server.send ( 200, "application/json", out );
}

/* Credits (that I can remember...)
 * Home Automation in the Cloud with the ESP8266 & Adafruit IO => https://learn.adafruit.com/home-automation-in-the-cloud-with-the-esp8266-and-adafruit-io/programming-the-modules
 *  Github => https://github.com/openhomeautomation/adafruit-io-esp8266/blob/master/esp8266_sensor_module/esp8266_sensor_module.ino
 * Many, many Google searches.

 */
