Resistor Property

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

Gets or sets the resistor mode of the input port. You set the initial resistor mode value in the InputPort constructor.

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

Syntax

'Declaration
Public Property Resistor As Port.ResistorMode
public Port.ResistorMode Resistor { get; set; }
public:
property Port::ResistorMode Resistor {
    Port::ResistorMode get ();
    void set (Port::ResistorMode value);
}
member Resistor : Port.ResistorMode with get, set
function get Resistor () : Port..::..ResistorMode
function set Resistor (value : Port..::..ResistorMode)

Property Value

Type: Microsoft.SPOT.Hardware. . :: . .Port. . :: . .ResistorMode
The resistor mode of the input port.

.NET Framework Security

See Also

Reference

InputPort Class

Microsoft.SPOT.Hardware Namespace