mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Let serial monitor send newline by default
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.
This commit is contained in:
parent
b6280cfd65
commit
98bd18ee8d
@ -272,6 +272,7 @@ serial.databits=8
|
||||
serial.stopbits=1
|
||||
serial.parity=N
|
||||
serial.debug_rate=9600
|
||||
serial.line_ending=1
|
||||
|
||||
# I18 Preferences
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user