Can somebody please explain the difference between print and write file class from the SD library?
I see that print - prints to the file and write - writes to the file, but what is the difference? They seems pretty similar.
Many thanks
Matt
Can somebody please explain the difference between print and write file class from the SD library?
I see that print - prints to the file and write - writes to the file, but what is the difference? They seems pretty similar.
Many thanks
Matt
I see that print - prints to the file and write - writes to the file, but what is the difference? They seems pretty similar.
That depends on what you are print()ing or write()ing to the file. Try printing an int variable, and then writing the same variable. Power down the Arduino, move the card to the PC, and open the file in a text editor. Explain what you see.