   digitalWrite(pinOpenBtnOut, HIGH);
   digitalWrite(pinCloseBtnOut, LOW);
   digitalWrite(pinParkingBrakeOut, HIGH);
+  motorStartTime = millis();
 }
 
 void sendClose() {


unsigned long ms, motorStartTime, manualModeReleaseTime;
bool outputRequired = false;

int currentMode = modeWait;
int previousMode = modeWait;


}

/** Timer Functions */

void updateTimers() {
  manualModeLocked = (ms - manualModeReleaseTime < manualModeLockTime);
  openTimeComplete = (ms - motorStartTime > openTime);
  closeTimeComplete = (ms - motorStartTime > closeTime);
}

/** Mode Update Functions */

void updateMode() {
