     int sensor = analogRead(analogPin);
     dataString += String(sensor);
     if (analogPin < 2) {
-      dataString += ","; 
+      dataString += ",";  // separate the values with a comma
     }
   }
 
   // open the file. note that only one file can be open at a time,
   // so you have to close this one before opening another.
   // The FileSystem card is mounted at the following "/mnt/FileSystema1"
-  File dataFile = FileSystem.open("/mnt/sda1/datalog.txt", FILE_APPEND);
+  File dataFile = FileSystem.open("/mnt/sd/datalog.txt", FILE_APPEND);
 
   // if the file is available, write to it:
   if (dataFile) {

 */

#include <FileIO.h>
#include <Serial.h>

void setup() {
  // Initialize the Bridge and the Serial

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