Edit

Share via


DCMotor Constructors

Definition

Overloads

DCMotor(GpioController)
DCMotor(GpioController, Boolean)

Constructs generic DCMotor instance

DCMotor(GpioController)

protected DCMotor (System.Device.Gpio.GpioController controller);
new Iot.Device.DCMotor.DCMotor : System.Device.Gpio.GpioController -> Iot.Device.DCMotor.DCMotor
Protected Sub New (controller As GpioController)

Parameters

controller
GpioController

Applies to

DCMotor(GpioController, Boolean)

Constructs generic DCMotor instance

protected DCMotor (System.Device.Gpio.GpioController? controller, bool shouldDispose);
new Iot.Device.DCMotor.DCMotor : System.Device.Gpio.GpioController * bool -> Iot.Device.DCMotor.DCMotor
Protected Sub New (controller As GpioController, shouldDispose As Boolean)

Parameters

controller
GpioController

GpioController related with operations on pins

shouldDispose
Boolean

True to dispose the Gpio Controller

Applies to