mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +01:00
Adding warning about multiple open files.
This commit is contained in:
parent
575bb1dafb
commit
b0b909ed2b
@ -38,7 +38,8 @@ void setup()
|
|||||||
}
|
}
|
||||||
Serial.println("initialization done.");
|
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);
|
myFile = SD.open("test.txt", FILE_WRITE);
|
||||||
|
|
||||||
// if the file opened okay, write to it:
|
// if the file opened okay, write to it:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user