共用方式為


Mcp23xxx.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>)

讀取一組針腳的值

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

參數

pinValuePairs
Span<PinValuePair>

適用於