Skip to content

Commit b31bc76

Browse files
author
Jenny Plunkett
authored
Add note about default baud rate is 9600
1 parent 5ee5b07 commit b31bc76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/Serial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Serial : public SerialBase, public Stream, private NonCopyable<Serial> {
6363
* @param tx Transmit pin
6464
* @param rx Receive pin
6565
* @param name The name of the stream associated with this serial port (optional)
66-
* @param baud The baud rate of the serial port (optional, defaults to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE)
66+
* @param baud The baud rate of the serial port (optional, defaults to MBED_CONF_PLATFORM_DEFAULT_SERIAL_BAUD_RATE or 9600)
6767
*
6868
* @note
6969
* Either tx or rx may be specified as NC (Not Connected) if unused

0 commit comments

Comments
 (0)