mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
Adding warning about multiple open files.
This commit is contained in:
@ -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:
|
||||||
|
Reference in New Issue
Block a user