InputPort Constructor (Cpu.Pin, Boolean, Boolean, Port.ResistorMode)

[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 InputPort class with the specified port identifier, initial state, glitch filter, and resistor mode.

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, _
    glitchFilter As Boolean, _
    resistor As Port.ResistorMode _
)
protected InputPort(
    Cpu.Pin portId,
    bool initialState,
    bool glitchFilter,
    Port.ResistorMode resistor
)
protected:
InputPort(
    Cpu::Pin portId, 
    bool initialState, 
    bool glitchFilter, 
    Port::ResistorMode resistor
)
new : 
        portId:Cpu.Pin * 
        initialState:bool * 
        glitchFilter:bool * 
        resistor:Port.ResistorMode -> InputPort
protected function InputPort(
    portId : Cpu..::..Pin, 
    initialState : boolean, 
    glitchFilter : boolean, 
    resistor : Port..::..ResistorMode
)

Parameters

.NET Framework Security

See Also

Reference

InputPort Class

InputPort Overload

Microsoft.SPOT.Hardware Namespace