Share via


Port Constructor (Cpu.Pin, Boolean)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the Port class with the specified port identifier and initial state.

Namespace:  Microsoft.SPOT.Hardware
Assembly:  Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)

Syntax

'Declaration
Protected Sub New ( _
    portId As Cpu.Pin, _
    initialState As Boolean _
)
protected Port(
    Cpu.Pin portId,
    bool initialState
)
protected:
Port(
    Cpu::Pin portId, 
    bool initialState
)
new : 
        portId:Cpu.Pin * 
        initialState:bool -> Port
protected function Port(
    portId : Cpu..::..Pin, 
    initialState : boolean
)

Parameters

.NET Framework Security

See Also

Reference

Port Class

Port Overload

Microsoft.SPOT.Hardware Namespace