|Top Previous Next|
Gets or sets the serial data rate.
The data rate for serial port n, n in the range 0 - 2.
The serial port is enabled by setting the bitRate property to a positive value. Data rates can range from about 1000 bits/sec (baud) to 1.9 Mbps.
Getting the value of this property returns the actual data rate achieved. This will be within 1% or less of the data rate requested.
Setting this property to zero disables the serial port, allowing the associated pins to be used for other purposes.