Add support for LF line breaks on records #8
Labels
conclusion: resolved
Issue was resolved
criticality: high
Of high impact
priority: high
Resolution is a high priority
topic: code
Related to content of the project itself
type: enhancement
Proposed improvement
Describe the current behavior
The Arduino IDE Serial Plotter accepts data in a delimiter-separated format. Each record is terminated by a line break.
Currently, the only line break recognized by the Arduino IDE 2.x Serial Plotter is CRLF (
\r\n
).The LF line ending is supported and officially specified as the line break character for the classic Arduino IDE Serial Plotter protocol:
https://github.com/arduino/Arduino/blob/master/build/shared/ArduinoSerialPlotterProtocol.md#serialplotter-protocol
To reproduce
😢 the data are not plotted.
🙂 the data are plotted.
Describe the request
Support LF in addition to CRLF line breaks in data sent to Serial Plotter.
Desktop
Date: 2022-01-13T17:15:54.562Z
CLI Version: 0.20.2 [13783819]
Additional context
In addition to providing compatibility with the original protocol, there are several other reasons for supporting LF line breaks:
The text was updated successfully, but these errors were encountered: