hello, i am experimenting with this library and i noticed that it has some strange behaviour when i use simultaneously the Serial and when i open/close files
i made this fast bench test and it can't open/clone even the first file
for (byte a = 10; a >= 1; a--) {
file = sd.open(a, FILE_WRITE); //create file
delay(10);
if (file) {
file.println("stress test");
} else {
delay(10);
Serial.print("stress test failed n#"); Serial.println(a);
}
delay(10);
file.close();
delay(10 * a);
}
any suggestion?