DCMotorExtensions.Backwards(DCMotor, Double) Method
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.
Motor turns backwards at indicated speed
C#
public static void Backwards (this Iot.Device.DCMotor.DCMotor motor, double speed = 1);
static member Backwards : Iot.Device.DCMotor.DCMotor * double -> unit
<Extension()>
Public Sub Backwards (motor As DCMotor, Optional speed As Double = 1)
- motor
- DCMotor
DCMotor instance to extend
- speed
- Double
Indicated speed
Product | Versions |
---|---|
.NET IoT Libraries | 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0 |