 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 doorEnable    = 37; // MotorA enable
 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 fanEnable     = 39; // MotorB enable
 const int rtcSDA        = 20; // Real Time Clock SDA (i2c arduino mega)
 const int rtcSCL        = 21; // Real Time Clock SCL (i2c arduino mega)
 

      // Door isn't open, run motor until it is.
      digitalWrite(doorClose, LOW);
      digitalWrite(doorOpen, HIGH);
      digitalWrite(doorSpeed, HIGH);
    }
    else {
      // Door is open, stop motor.
      digitalWrite(doorClose, LOW);
      digitalWrite(doorOpen, LOW);
      digitalWrite(doorSpeed, LOW);
      doorState = "open";
      if (doorStatePrev != doorState && wifiConnected) {
        mqtt.publish("coop/status", "door|open", 2, 0);

#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
