 // Logging of measurements
 void logData(){
   String sTime = getTimeString();
+  // Get for temperature, humidity and CO2 the lowest, average and highest measurements of the last logging interval:
   String sTemperatureMin = floatToString( temperatures.minimum() );
   String sTemperatureAvg = floatToString( temperatures.mean() );
   String sTemperatureMax = floatToString( temperatures.maximum() );

    Serial.println("- " + userInputMsg + "\r\n");
  }
  if( userInputMsg == "csv" ){ // User requests CSV
    Serial.println(sLog);
  }  
}
// Polling - requesting measurements from the sensor
void pollData(){
  temperatures.push(czr.Celsius());
  humidity.push(czr.Humidity());
  CO2.push(czr.CO2());

    }
  }
  else {
    if (Serial.available()) {
      processDateInput();   
    }
