Join GitHub today
Write mode won't log \r\n but append mode does #149
In Arduino v1.x the following happens (OpenLog v3.11):
Serial.println("write file.txt 0");
Seems to med that append mode and write mode aren't handling \r\n in the same way.
I would absolutely enjoy having some help squash bugs. If you can find the area of code that is the culprit and suggest fixes we will gladly roll them into the main branch. I'm currently focused on re-writing the baud rate control so that we can free up some code words for turning off emergency reset.
added a commit
Apr 8, 2013
Added to v3.20. I've added support so that when you send a println to openlog when using the 'write' command, it will now record a \n\r to the text file. This should give you the functionality you're looking for. Please give it a try and re-open if you still have problems.