Motors Class

Definition

Represents the Explorer HAT DCMotors collection

C#
public class Motors : IDisposable
Inheritance
Motors
Implements

Properties

One

Motor #1

Two

Motor #2

Methods

Backwards(Double)

Both motors turns backwards at indicated speed

Dispose()

Disposes the Motors instance

Forwards(Double)

Both motors turns forwards at indicated speed

Stop()

Both motors stops

Applies to

Proizvod Verzije
.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