Adding warning about multiple open files.

This commit is contained in:
David A. Mellis 2010-12-22 17:04:34 -06:00
parent 575bb1dafb
commit b0b909ed2b
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ void setup()
}
Serial.println("initialization done.");
// open a file:
// open the file. note that only one file can be open at a time,
// so you have to close this one before opening another.
myFile = SD.open("test.txt", FILE_WRITE);
// if the file opened okay, write to it: