Edit

Share via


Pcx857x.Read Method

Definition

Overloads

Read(Int32)

Reads the current value of a pin.

Read(Span<PinValuePair>)

Reads multiple pins from the device

Read(Int32)

Reads the current value of a pin.

protected override System.Device.Gpio.PinValue Read (int pinNumber);
override this.Read : int -> System.Device.Gpio.PinValue
Protected Overrides 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

Read(Span<PinValuePair>)

Reads multiple pins from the device

public void Read (Span<System.Device.Gpio.PinValuePair> pinValues);
override this.Read : Span<System.Device.Gpio.PinValuePair> -> unit
Public Sub Read (pinValues As Span(Of PinValuePair))

Parameters

pinValues
Span<PinValuePair>

Pins and values to be read

Applies to