Re: 2nd Try: Trouble writing lines to file that include line feeds - Newbie

2013-12-22 Thread Dan Healy
Solved. Simply change the 'w' from the file.open method to an 'a' for append On Sunday, December 22, 2013 7:55:28 PM UTC-5, Dan Healy wrote: > Overview: I'm attempting to read strings from a serial port. Each string ends > with a carriage return and line feed. I w

2nd Try: Trouble writing lines to file that include line feeds - Newbie

2013-12-23 Thread Dan Healy
Overview: I'm attempting to read strings from a serial port. Each string ends with a carriage return and line feed. I want to write those strings to a file, like a log file. So, if I send P1 and the P2 on a new line, I would expect to open this file and find (line 1) P1 (line 2) P2. Problem: T