GpioController.GetPinMode(Int32) Method

Definition

Gets the mode of a pin.

C#
public System.Device.Gpio.PinMode GetPinMode (int pinNumber);
C#
public virtual System.Device.Gpio.PinMode GetPinMode (int pinNumber);

Parameters

pinNumber
Int32

The pin number in the controller's numbering scheme.

Returns

The mode of the pin.

Applies to

Product Versions
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0