SerialPort.speed

Sets the baud rate of this port. Usually, the baud rate can only be set to fixed values (common values are 1200 * 2^n).

Note that for Posix, the specification only mandates speeds up to 38400, excluding speeds such as 7200, 14400 and 28800. Most Posix systems have chosen to support at least higher speeds though.

class SerialPort
speed
(
uint speed
)

Throws

IOException if speed is unsupported.

See Also

maxSpeed

Meta