 
   if (swTrigger == LOW || (swFront == LOW && swBack == LOW)) {
     doorState = doorError;
-    setLeds1(red, ledBlink);
+    setLeds1(blue, ledSolid);
     Serial.print(F("ERROR\r\n"));
   } else if (swFront == LOW) {
     doorState = doorClosed;

const int switchTriggerIRQ = 0;

// PIR sensor, active-high
const int pirPin = 12;

// on-board status LED

  debug(currentMillis, F("Elapsed millis: "));
  Serial.println(elapsedMillis);
*/


  // fast debounce driver error signals to filter short glitches
  debounce(motorDiagAPin, &motorDiagA, &motorDiagADeglitch, &motorDiagADebounce);
