GpioController.Read メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Read(Int32) |
ピンの現在の値を読み取ります。 |
Read(Span<PinValuePair>) |
指定されたピン番号を使用して、指定したピンを読み取る。 |
Read(Int32)
ピンの現在の値を読み取ります。
public System.Device.Gpio.PinValue Read (int pinNumber);
public virtual System.Device.Gpio.PinValue Read (int pinNumber);
member this.Read : int -> System.Device.Gpio.PinValue
abstract member Read : int -> System.Device.Gpio.PinValue
override this.Read : int -> System.Device.Gpio.PinValue
Public Function Read (pinNumber As Integer) As PinValue
Public Overridable Function Read (pinNumber As Integer) As PinValue
パラメーター
- pinNumber
- Int32
コントローラーの番号付けスキームのピン番号。
戻り値
ピンの値。
適用対象
Read(Span<PinValuePair>)
指定されたピン番号を使用して、指定したピンを読み取る。
public void Read (Span<System.Device.Gpio.PinValuePair> pinValuePairs);
member this.Read : Span<System.Device.Gpio.PinValuePair> -> unit
Public Sub Read (pinValuePairs As Span(Of PinValuePair))
パラメーター
- pinValuePairs
- Span<PinValuePair>
読み取るピンと値のペア。