DCMotor Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for