Skip to content

Commit b0b909e

Browse files
committed
Adding warning about multiple open files.
1 parent 575bb1d commit b0b909e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/SD/examples/ReadWrite/ReadWrite.pde

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ void setup()
3838
}
3939
Serial.println("initialization done.");
4040

41-
// open a file:
41+
// open the file. note that only one file can be open at a time,
42+
// so you have to close this one before opening another.
4243
myFile = SD.open("test.txt", FILE_WRITE);
4344

4445
// if the file opened okay, write to it:

0 commit comments

Comments
 (0)