HardwareProvider.GetButtonPins Method

Gets the pin assigned to a specified Button device.

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

Syntax

public virtual Pin GetButtonPins (
         Button iButton
)

Parameters

  • iButton
    The button for which to obtain the pin assignment.

Return Value

The pin assigned to the specified button.

Version Information

Available in the .NET Micro Framework versions 3.0 and 4.1.

See Also

Reference

HardwareProvider Class
HardwareProvider Members
Microsoft.SPOT.Hardware Namespace