46 virtual void write(uint16_t value,
bool telemetery =
false);
56 virtual void write(int16_t value);
Header file for the HBridge class.
Base class for motor control.
Definition DriveMaster.h:16
virtual void sendCommand(uint16_t value)
Send a command to the motor.
Definition DriveMaster.cpp:14
virtual void write(uint16_t value, bool telemetery=false)
Write a command to the motor.
Definition DriveMaster.cpp:11
virtual void sendValue(uint16_t value)
Send a value to the motor.
Definition DriveMaster.cpp:15
virtual void begin()
Initialize the motor control.
Definition DriveMaster.cpp:9
int _pin
Definition DriveMaster.h:71
DriveMaster(int pin)
Construct a new DriveMaster object with only the pin.
Definition DriveMaster.cpp:3
virtual ~DriveMaster()
Destroy the DriveMaster object.
Definition DriveMaster.cpp:7
int _dir_pin
Definition DriveMaster.h:72
Header file for the dshot class.