Edit

Share via


GpioController Constructors

Definition

Overloads

GpioController()

Initializes a new instance of the GpioController class that will use the logical pin numbering scheme as default.

GpioController(PinNumberingScheme)

Initializes a new instance of the GpioController class that will use the specified numbering scheme. The controller will default to use the driver that best applies given the platform the program is executing on.

GpioController(PinNumberingScheme, GpioDriver)

Initializes a new instance of the GpioController class that will use the specified numbering scheme and driver.

GpioController()

Initializes a new instance of the GpioController class that will use the logical pin numbering scheme as default.

public GpioController ();
Public Sub New ()

Applies to

GpioController(PinNumberingScheme)

Initializes a new instance of the GpioController class that will use the specified numbering scheme. The controller will default to use the driver that best applies given the platform the program is executing on.

public GpioController (System.Device.Gpio.PinNumberingScheme numberingScheme);
new System.Device.Gpio.GpioController : System.Device.Gpio.PinNumberingScheme -> System.Device.Gpio.GpioController
Public Sub New (numberingScheme As PinNumberingScheme)

Parameters

numberingScheme
PinNumberingScheme

The numbering scheme used to represent pins provided by the controller.

Applies to

GpioController(PinNumberingScheme, GpioDriver)

Initializes a new instance of the GpioController class that will use the specified numbering scheme and driver.

public GpioController (System.Device.Gpio.PinNumberingScheme numberingScheme, System.Device.Gpio.GpioDriver driver);
new System.Device.Gpio.GpioController : System.Device.Gpio.PinNumberingScheme * System.Device.Gpio.GpioDriver -> System.Device.Gpio.GpioController
Public Sub New (numberingScheme As PinNumberingScheme, driver As GpioDriver)

Parameters

numberingScheme
PinNumberingScheme

The numbering scheme used to represent pins provided by the controller.

driver
GpioDriver

The driver that manages all of the pin operations for the controller.

Applies to