Skip to content

Commit 24d0e45

Browse files
authored
Merge PR arduino#514 "Add note re: irrelevance of Serial.begin() for USB CDC ports" from per1234
Add note re: irrelevance of Serial.begin() for USB CDC ports
2 parents afde77c + 8567cfa commit 24d0e45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Language/Functions/Communication/Serial/begin.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,11 @@ void loop() {}
112112
[%hardbreaks]
113113
Thanks to Jeff Gray for the mega example
114114

115+
116+
[float]
117+
=== Notes and Warnings
118+
For USB CDC serial ports (e.g. `Serial` on the Leonardo), `Serial.begin()` is irrelevant. You can use any baud rate and configuration for serial communication with these ports. See the list of available serial ports for each board on the link:../../serial[Serial main page].
119+
[%hardbreaks]
120+
115121
--
116122
// HOW TO USE SECTION ENDS

0 commit comments

Comments
 (0)