   }
 
   gear.update();
+  smoothGas.update(currentGas);
+  smoothBattery.update(currentBatteryVoltage);
+  
   updateDisplay();
 }

  uint8_t speed = 0;
  uint8_t currentGas = gas.getValue();
  uint8_t currentBatteryVoltage = battery.getValue();
  
  smoothGas.update(currentGas);
  smoothBattery.update(currentBatteryVoltage);

  // Different max speed, when driving backwards
  if (motor.isForwards()) {



  /* TODO: Battery Protection
  while (smoothBattery.getValue() > 3 && smoothBattery.getValue() < 11.4) {
    changeSpeed(currentDirection, speed, 0);
    motor.changeSpeed(0);
