88 MD(
int bus=MD_I2C_BUS, uint8_t address=MD_DEFAULT_I2C_ADDR);
103 bool writePacket(MD_REG_T reg, uint8_t data1, uint8_t data2);
181 MD_STEP_MODE_T mode=MD_STEP_MODE1);
188 MD(
const MD&) =
delete;
189 MD &operator=(
const MD&) =
delete;
bool disableStepper()
Definition: md.cxx:90
void configStepper(unsigned int stepsPerRev, MD_STEP_MODE_T mode=MD_STEP_MODE1)
Definition: md.cxx:100
bool enableStepper(MD_STEP_DIRECTION_T dir, uint8_t speed)
Definition: md.cxx:85
MD(int bus=MD_I2C_BUS, uint8_t address=MD_DEFAULT_I2C_ADDR)
Definition: md.cxx:36
API for the I2C Motor Driver.
Definition: md.hpp:79
bool setMotorSpeeds(uint8_t speedA, uint8_t speedB)
Definition: md.cxx:58
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
bool setMotorDirections(MD_DC_DIRECTION_T dirA, MD_DC_DIRECTION_T dirB)
Definition: md.cxx:76
bool setStepperSteps(unsigned int steps)
Definition: md.cxx:95
bool setPWMFrequencyPrescale(uint8_t freq=0x03)
Definition: md.cxx:67
bool writePacket(MD_REG_T reg, uint8_t data1, uint8_t data2)
Definition: md.cxx:49
~MD()
Definition: md.cxx:44