Strange characters in SD card

hello.
after writting on sd file on arduino, and after I insert my SD card into my laptop i get this files with this strange characters..
I got the running error "could not open filename.txt", but still the prompt says it is writting something.. anyone know what might be causing this?

Which prompt?

Maybe we can say something useful if you show us your sketch.

I would hazard a guess that the filesystem on the SD card has become corrupted.

Did you remove the SD card whilst your Arduino was running?

Did you format the SD card as per the sticky hints at the top of the Storage section of the forum? See:

1 Like

i created the text file previously on the sd card and it solved the problem

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.