次の方法で共有


Pcx857x.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> pinValues);
override this.Read : Span<System.Device.Gpio.PinValuePair> -> unit
Public Sub Read (pinValues As Span(Of PinValuePair))

パラメーター

pinValues
Span<PinValuePair>

読み取るピンと値

適用対象