Uses of Interface
com.diozero.devices.motor.MotorInterface
Package | Description |
---|---|
com.diozero.devices.motor |
-
Uses of MotorInterface in com.diozero.devices.motor
Classes in com.diozero.devices.motor that implement MotorInterface Modifier and Type Class Description class
MotorBase
class
PiconZeroMotor
class
PwmMotor
Generic bi-directional motor controlled by separate forward / backward PWM output GPIOsclass
TB6612FNGMotor
Bi-directional motor controlled by a single PWM pin and separate forward / backward GPIO pins Toshiba TB6612FNG Dual Motor Driver such as @see this one from Pololu Turn forward, set pin 1 to HIGH, pin 2 to LOW, and PWM to >0 Turn backward, set pin 1 to LOW, pin 2 to HIGH, PWM to >0Methods in com.diozero.devices.motor that return MotorInterface Modifier and Type Method Description MotorInterface
DualMotor. getLeftMotor()
MotorInterface
DualMotor. getRightMotor()
Constructors in com.diozero.devices.motor with parameters of type MotorInterface Constructor Description DualMotor(MotorInterface leftMotor, MotorInterface rightMotor)