 long minFiveInterval = 300000;
 
 void setup() {
+  pinMode(LightSwitch, OUTPUT);
   Serial.begin(9600); 
   Serial.println("PlantStation is warming up\n");
   myDHT.begin();

//=====for writting to the console=============
#include "Bridge.h"
#include "Console.h"

//=====for Probe Thermometer===================
#include "OneWire.h"

void switchLights() {
  
  if (lightOnThreshold > lightResistorVal && !lightIsOn) {
    digitalWrite(LightSwitch, HIGH);
    lightIsOn = true;
  } 
  
  if (lightOnThreshold < lightResistorVal && lightIsOn) {
    digitalWrite(LightSwitch, LOW);
    lightIsOn = false;
  } 
  
