Can Arduino write to a text file?

Yes: With a microSD sheild from spark fun!

I am saving an XML file for a project using...

I chose an XML file, because it is really easy for a .NET program to read. However, it is possible to write any type of program you like! (*.txt, *.xml, *.c, *.cpp, ...)

The way you create a file is
-> open "file.txt" (or whatever you like)
-> write ....

... and it copies what you have in an array to a file.

You can then open the file on the card and read it back!

And at any time, you can take the microSD card out and put it into your computer (which is what I'm doing) for easy data transfer.

:slight_smile: