Running Arduine IDE SD DataLogger Example, my data gets appended to a txt file.
File dataFile = SD.open("datalog.txt", FILE_WRITE);
if (dataFile) {
dataFile.println(dataString);
dataFile.close();
}
Is there an explicit option to open the file in overwrite / append modes?