Sdílet prostřednictvím


Mcp23xxx.Read Metoda

Definice

Přetížení

Read(Int32)

Načte hodnotu špendlíku.

Read(Span<PinValuePair>)

Načte hodnotu sady špendlíků.

Read(Int32)

Načte hodnotu špendlíku.

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

Parametry

pinNumber
Int32

Číslo špendlíku.

Návraty

Vysoká nebo nízká hodnota kolíku.

Platí pro

Read(Span<PinValuePair>)

Načte hodnotu sady špendlíků.

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

Parametry

pinValuePairs
Span<PinValuePair>

Platí pro