LibGpiodDriver.Read(Int32) Method

Definition

Reads the current value of a pin.

protected internal override System.Device.Gpio.PinValue Read (int pinNumber);
override this.Read : int -> System.Device.Gpio.PinValue
Protected Friend Overrides Function Read (pinNumber As Integer) As PinValue

Parameters

pinNumber
Int32

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

Returns

PinValue

The value of the pin.

Applies to