mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +01:00
The serial.line_ending value was not present in the default preferences file, so the default was implicitly 0, meaning "No line ending". Since users often do not realize that they can even choose a line ending, and "no line ending" is only rarely useful, it seems better to default to sending a newline. Using both CR & NL would be more consistent with Stream.println on the Arduino side, but just sending a newline is probably easier to parse on the Arduino side.