OutputPort Constructor (Pin, Boolean)

Initializes a new instance of the OutputPort class.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public OutputPort (
         Pin portId,
         bool initialState
)

Parameters

  • portId
    The indentifier for the output port. If the port with the specified identifier is already in use, an exception is thrown.
  • initialState
    The initial state forced on the output port when it was constructed.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

OutputPort Class
OutputPort Members
Microsoft.SPOT.Hardware Namespace