Closed xtnctx closed 11 months ago
Hi @xtnctx
Is having an extra 13 and 10 normal?
Yes, when you use println
:
https://www.arduino.cc/reference/en/libraries/sd/println/
Print data, followed by a carriage return and newline, to the File
If you don't want it, use myFile.print("newtext123")
instead
I am trying to update my file by deleting all contents then writing a new one. I come up with this solution:
However, when I read the contents, there is an extra 13 and 10. After looking in ascii table, it means carriage return and line feed respectively. So I have to skip those two.
Is having an extra 13 and 10 normal?