Edit

Share via


GpioDriver.Read(Int32) Method

Definition

Reads the current value of a pin.

protected internal abstract System.Device.Gpio.PinValue Read (int pinNumber);
abstract member Read : int -> System.Device.Gpio.PinValue
Protected Friend MustOverride Function Read (pinNumber As Integer) As PinValue

Parameters

pinNumber
Int32

The pin number in the driver's logical numbering scheme.

Returns

The value of the pin.

Applies to