 /****************************
  Functions called from Loop
 /****************************/
-// Process serial monitor commands
+// Process date commands
 void processDateInput() {
   unsigned long pctime;
   const unsigned long DEFAULT_TIME = 1357041600; // Jan 1 2013    

 
  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.  
 
  created 13 Feb 2015
  by Koos Looijesteijn
 

    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());
