Motor

constructor(motor: DcMotor)

Wrap a DcMotor to use in the Motor class.

Parameters

motor

the DcMotor from hardwareMap to use.