GpioOutputSegment(Int32[], GpioController, Boolean) Constructor

Definition

IOutputSegment implementation that uses GpioController.

C#
public GpioOutputSegment (int[] pins, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);

Parameters

pins
Int32[]

The GPIO pins that should be used and are connected.

gpioController
GpioController

The GpioController to use. If one isn't provided, one will be created.

shouldDispose
Boolean

The policy to use (true, by default) for disposing the GPIO controller when disposing this instance.

Applies to

Toode Versioonid
.NET IoT Libraries 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0