DCMotorExtensions.Forwards(DCMotor, Double) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Le moteur tourne vers l’avant à la vitesse indiquée
C#
public static void Forwards (this Iot.Device.DCMotor.DCMotor motor, double speed = 1);
static member Forwards : Iot.Device.DCMotor.DCMotor * double -> unit
<Extension()>
Public Sub Forwards (motor As DCMotor, Optional speed As Double = 1)
- motor
- DCMotor
Instance DCMotor à étendre
- speed
- Double
Vitesse indiquée
Produit | 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 |