Class TB6612FNGMotor

java.lang.Object
com.diozero.devices.motor.MotorBase
com.diozero.devices.motor.TB6612FNGMotor
All Implemented Interfaces:
DeviceInterface, FloatConsumer, MotorInterface, AutoCloseable

public class TB6612FNGMotor
extends MotorBase
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 >0