 unsigned long calcPingTimestampOut = 0;
 unsigned long calcPongTimestampOut = 0;
 
+unsigned long resetControllerDataDelay = 500;
+unsigned long previousResetControllerDataDelay = 0;
+
 unsigned int leftMotorVal = 0;
 unsigned int rightMotorVal = 0;
 unsigned int analogLedVal = 0;

    else if ((serial_rx_buffer[0] == 0x09) && (serial_rx_buffer[11] == 0x09)) {
      // Disconnect Arduino
      for (serial_rx_buffer_counter = 0; serial_rx_buffer_counter < sizeof(serial_rx_buffer_disconnect); serial_rx_buffer_counter++) {
        //  Pass Serial Buffer to Disconnect Buffer
        serial_rx_buffer_disconnect[serial_rx_buffer_counter] = serial_rx_buffer[serial_rx_buffer_counter];
      }
      arduinoDisconnect();
    }
  }
  pressButtons();

  Serial.end();
  isConnected = false;
  disconnectDone = currentMillis;
  delay(2500); // Wait 2.5 seconds before resetting
  Serial.begin(baudRate);

  //  Tell the computer the connection has began succesfully
  serial_rx_buffer_disconnect[0] = 0x0B;
  serial_rx_buffer_disconnect[11] = 0x0B;
