Skip to content

Commit

Permalink
Let serial monitor send newline by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthijskooijman authored and facchinm committed May 2, 2018
1 parent 141ed72 commit 8e515a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build/shared/lib/preferences.txt
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,7 @@ serial.databits=8
serial.stopbits=1
serial.parity=N
serial.debug_rate=9600
serial.line_ending=1

# I18 Preferences

Expand Down

0 comments on commit 8e515a2

Please sign in to comment.