 unsigned long overrideRelease = 0;
 boolean overrideTriggered = false;
 
+unsigned long prevCheck = 0;
+const unsigned short LEDrefreshRate = 200;
+
 void setup() {
   car.begin();
   frontSonar.attach(FRONT_US_TRIG_PIN, FRONT_US_ECHO_PIN);

  gyro.begin(); //start measuring
  Serial2.begin(9600);
  Serial2.setTimeout(200);
}

void loop() {
  handleOverride(); //look for an override signal and if it exists disable bluetooth input
  handleInput();
  gyro.update();
  transmitSensorData();
}

void handleOverride() {


void handleInput() {
  if (!overrideTriggered || (millis() > overrideRelease)) {
    if (overrideTriggered) overrideTriggered = false;
    if (Serial2.available()) {
      String input = decodedNetstring(Serial2.readStringUntil(','));
      Serial.println(input);
