GpioController.Write Method

Definition

Overloads

Write(ReadOnlySpan<PinValuePair>)

Write the given pins with the given values.

Write(Int32, PinValue)

Writes a value to a pin.

Write(ReadOnlySpan<PinValuePair>)

Write the given pins with the given values.

public void Write (ReadOnlySpan<System.Device.Gpio.PinValuePair> pinValuePairs);
member this.Write : ReadOnlySpan<System.Device.Gpio.PinValuePair> -> unit
Public Sub Write (pinValuePairs As ReadOnlySpan(Of PinValuePair))

Parameters

pinValuePairs
ReadOnlySpan<PinValuePair>

The pin/value pairs to write.

Applies to

Write(Int32, PinValue)

Writes a value to a pin.

public void Write (int pinNumber, System.Device.Gpio.PinValue value);
public virtual void Write (int pinNumber, System.Device.Gpio.PinValue value);
member this.Write : int * System.Device.Gpio.PinValue -> unit
abstract member Write : int * System.Device.Gpio.PinValue -> unit
override this.Write : int * System.Device.Gpio.PinValue -> unit
Public Sub Write (pinNumber As Integer, value As PinValue)
Public Overridable Sub Write (pinNumber As Integer, value As PinValue)

Parameters

pinNumber
Int32

The pin number in the controller's numbering scheme.

value
PinValue

The value to be written to the pin.

Applies to