| } | } | ||||
| Serial.println("initialization done."); | Serial.println("initialization done."); | ||||
| // open the file. note that only one file can be open at a time, | |||||
| // so you have to close this one before opening another. | |||||
| // open the file. | |||||
| 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: |