Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the SerialPort class using the specified port name, baud rate, and parity bit.
Namespace: System.IO.Ports
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public SerialPort (
stringportName,
intbaudRate,
Parityparity
)
Parameters
- portName
The port to use (for example, COM1). - baudRate
The baud rate. - parity
One of the Parity values.
Remarks
Use this constructor to create a new instance of the SerialPort class when you want to specify the port name, the baud rate, and the parity bit.
Version Information
Available in the .NET Micro Framework versions 3.0, 4.0, and 4.1.
See Also
Reference
SerialPort Class
SerialPort Members
System.IO.Ports Namespace