jasit:
myFile = SD.open("test.txt", FILE_WRITE); instead of FILE_APPEND
That won't move everything else in the file down, though, if that's what OP wanted to do. There is no easy way to do that.
jasit:
myFile = SD.open("test.txt", FILE_WRITE); instead of FILE_APPEND
That won't move everything else in the file down, though, if that's what OP wanted to do. There is no easy way to do that.