   }
   else {
     digitalWrite(fan, HIGH);
-    digitalWrite(fanSpeed, HIGH);
+    digitalWrite(fanEnable, HIGH);
     if (Debugging) {
       debugger.println("Fan on.");
     }

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

  pinMode(heaterRelay, OUTPUT);
  pinMode(doorOpen, OUTPUT);
  pinMode(doorClose, OUTPUT);
  pinMode(doorEnable, OUTPUT);
  pinMode(doorOpenLED, OUTPUT);
  pinMode(doorClosedLED, OUTPUT);
  pinMode(doorTop, INPUT);
  pinMode(doorBottom, INPUT);
  pinMode(fan, OUTPUT);
  pinMode(fanEnable, OUTPUT);

  // Pin defaults
  digitalWrite(lampRelay, LOW);
  digitalWrite(heaterRelay, LOW);
  digitalWrite(doorOpen, LOW);
  digitalWrite(doorClose, LOW);
  digitalWrite(doorEnable, HIGH);
  digitalWrite(doorOpenLED, LOW);
  digitalWrite(doorClosedLED, HIGH);
  digitalWrite(doorTop, HIGH);    // Enable resistor
  digitalWrite(doorBottom, HIGH); // Enable resistor
  digitalWrite(fan, LOW);
  digitalWrite(fanEnable, HIGH);

  lcdWrite("System Ready");
}
