     } else {
       debounceIgnore--;
     }
- 
+
     debounce(switchFront, &swFront, &swFrontDeglitch, &swFrontDebounce);
     debounce(switchBack, &swBack, &swBackDeglitch, &swBackDebounce);
     debounce(pirPin, &pirTrigger, &pirDeglitch, &pirDebounce);

  digitalWrite(motorInBPin, (bits & 0x01) ? (HIGH) : (LOW));
}

void motorDisable() {
  // actively pull diag pins low, disables driver bridges
  digitalWrite(motorDiagAPin, LOW);
  pinMode(motorDiagAPin, OUTPUT);


  Serial.print(F("Brake engaged\r\n"));
}

void motorFree() {
  _motorFree();
  Serial.print(F("Brake released\r\n"));
}

void motorForward() {
  _motorForward();
  Serial.print(F("Forward\r\n"));
}

void motorBackward() {
  _motorBackward();
  Serial.print(F("Backward\r\n"));
}


