  
   This sketch sents values temperature, humidity, CO2 and the digital filter setting to the serial port in CSV format.
   After uploading, open the serial monitor (ctrl+shift+m) and follow instructions. The CSV data can be copied and pasted into a spreadsheet.
-  In order to keep memory and storage consumption low, but not average out extremes, the sketch polls 30 times as often as it logs. With every log entry, the extremes and the averages of those 30 measurements are recorded.  
- 
+  In order to keep memory and storage consumption low, but not average out extremes, the sketch polls more frequently than it logs.
+  As the log is kept in RAM, only a around 9 data points can be recorded. As opening the serial monitor resets the Arduino, logs can only be read if the computer is connected the whole logging period. Until I have a datalogger shield, it's something at least.
+  When memory is full, logs are no longer saved. Some messy last entries may show up.
+
   created 13 Feb 2015
   by Koos Looijesteijn
  

  dtostrf(f, 4, 1, buff);  // Convert float to string (variable, mininum width, precision, buffer)
  s += buff;
  return s;
}



    Serial.println("- " + userInputMsg + "\r\n");
  }
  if( userInputMsg == "csv" ){ // User requests CSV
    if ( sLog.length() > 0){
      Serial.println("Time,Temperature (low),Temperature,Temperature (high),Humidity (low),Humidity,Humidity (high),Carbon Dioxide (low),Carbon Dioxide,Carbon Dioxide (high)");
      Serial.println(sLog);
    }
    else{
      Serial.println("Try again in a bit.");
    }
  }  
}
// Polling - requesting measurements from the sensor
void pollData(){
  // Measurements are pushed in arrays for each measurement type:
  temperatures.push(czr.Celsius());
  humidity.push(czr.Humidity());
  CO2.push(czr.CO2());
