 void toggleFan() {
   if (fanState) {
     digitalWrite(fan, LOW);
-    digitalWrite(fanSpeed, LOW);
+    digitalWrite(fanEnable, HIGH);
     if (Debugging) {
       debugger.println("Fan off.");
     }

const int heaterRelay   =  9; // Water Heater Relay
const int doorOpen      = 35; // MotorA left
const int doorClose     = 36; // MotorA right
const int doorSpeed     = 37; // MotorA speed
const int doorTop       = 51; // Reed Switch
const int doorBottom    = 53; // Reed Switch
const int doorOpenLED   = 11; // Indicator light (blinks during open/close steady on when open)
const int doorClosedLED = 12; // Indicator Light (blinks during open/close steady on when closed)
const int fan           = 38; // MotorB left
const int fanSpeed      = 39; // MotorB speed
const int rtcSDA        = 20; // Real Time Clock SDA (i2c arduino mega)
const int rtcSCL        = 21; // Real Time Clock SCL (i2c arduino mega)


#include "RTClib.h"

// print debug messages or not to serial
const int Debugging = 0;

// Digital & analog pins for various components
const int tempSense     =  6; // DS18S20 Temperature Sensor
