  created  24 Nov 2010
  modified 9 Apr 2012
  by Tom Igoe
- adapted to the Yun Bridge library 20 Jun 2013
+ adapted to the Yún Bridge library 20 Jun 2013
  by Federico Vanzati
  modified  21 Jun 2013
  by Tom Igoe


}

// This function append a time stamp to the string passed as argument
String addTimeStamp() {
  String result;
  Process time;
  time.begin("date"); 
  time.addParameter("+%D-%T");
  time.run();

  while(time.available()>0) {
    char c = time.read();
    if(c != '\n')
      result += c;
  }
}

  SD card datalogger
 
 This example shows how to log data from three analog sensors 
 to an SD card mounted on the Arduino Yún using the Bridge library.
 	
 The circuit:
 * analog sensors on analog pins 0, 1 and 2
 * SD card attached to SD card slot of the Arduino Yún
 
 Prepare your SD card creating an empty folder in the SD root 
 named "arduino". This will ensure that the Yún will create a link 
 to the SD to the "/mnt/sd" path.
 
 You can remove the SD card while the Linux and the 
 sketch are running but be careful not to remove it while
