 	for(int i = 0; i < 3; i++)
 		Serial.print(F("==============="));
 
-  // set pinmode for the CH_PD
-  pinMode(12, OUTPUT);
-  delay(3000);
-  
-	 // Startup our network.
-  while (!network.init_wireless(SSID, password)){
-    Serial.println(F("Failed connecting to wireless network, retying in 3 seconds."));
-    Heartbeat::panic();
-    delay(3000);
-  }
-  delay(3000);
-  
+	// set pinmode for the CH_PD
+	pinMode(12, OUTPUT);
+	delay(3000);
+
+	// Startup our network.
+	while (!network.init_wireless(SSID, password)){
+		Serial.println(F("Failed connecting to wireless network, retying in 3 seconds."));
+		Heartbeat::panic();
+		delay(3000);
+	}
+
 	// Startup a heartbeat LED.
 	Heartbeat::start();
+
+	// Extra delay for extra safety.
+	delay(3000);
 
 	// initiate DH11 sesnor at pin 2
 	sensors.init_DH11(2);
 
-  // Setup the pressure sensor.
-  sensors.init_MPL3115A2();
-
- 
+	// Setup the pressure sensor.
+	sensors.init_MPL3115A2();
 }
 
 /**
  * @brief Main loop of our application to read sensors and send data to server.
  */
 void loop(){ 
-  
-  // time stamp each iteration
-  Serial.print("************ Time now in millis: ");
-  Serial.print(millis());
-  Serial.println(" ************");
-  
-        // Read our s.
+	// time stamp each iteration
+	Serial.print("************ Time now in millis: ");
+	Serial.print(millis());
+	Serial.println(" ************");
+
+	// Read our s.
 	Sensor_data sensor_data = sensors.read_sensors();
 
 	// Dump the info to our screen.

#include <SoftwareSerial.h>
#include <Wire.h>

#include <avr/sleep.h>
#include <avr/wdt.h>

#include "Sensors.h"
#include "Heartbeat.h"
#include "Network.h"

	// Start up the serial communication.
	// Find out why this cuts off the next serial print.
	Serial.begin(115200);

	for(int i = 0; i < 3; i++)
		Serial.print(F("==============="));

