mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-23 14:41:25 +00:00
fixed file open error, it works!
This commit is contained in:
@@ -101,7 +101,7 @@ void write2CSV(outVector &stateVector, Vehicle &State) {
|
||||
}
|
||||
|
||||
// Open simOut.csv
|
||||
File dataFile = SD.open("simOut.csv");
|
||||
File dataFile = SD.open("simOut.csv", FILE_WRITE);
|
||||
if (dataFile) {
|
||||
Serial.println("File successfully opened!");
|
||||
dataFile.println("It works!");
|
||||
|
Reference in New Issue
Block a user