次の方法で共有


SeesawGpioDriver.Read メソッド

定義

オーバーロード

Read(Int32)

ピンの現在の値を読み取ります。

Read(Span<PinValuePair>)

指定されたピン番号を使用して、指定したピンを読み取る。

Read(Int32)

ピンの現在の値を読み取ります。

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

パラメーター

pinNumber
Int32

コントローラーの番号付けスキームのピン番号。

戻り値

ピンの値。

適用対象

Read(Span<PinValuePair>)

指定されたピン番号を使用して、指定したピンを読み取る。

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

パラメーター

pinValuePairs
Span<PinValuePair>

読み取るピンと値のペア。

適用対象