I am getting some data in from a 3rd party sensor. I receive one packed of data every second for ~4 hours and write it to my SD card shield. The data is formatted as follows:
PTU: 1006.23, 21.61, 41.09 STAT: 5.0, 26.0 GPSX: 0.00000, 0.00000, 0.0, 00, 0.000, 0.000, 0.000, 00:00:00
The carriage returns in the data are giving me fits in terms of making the data easy to read/plot in excel. Can you think of a simple way to remove the carriage returns in the data? I would prefer not to just "ignore" every Nth byte that comes in, because sometimes the number of significant figures in the data changes.