ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
|
#include <arpirobot/devices/drv8833/DRV8833Module.hpp>
Public Member Functions | |
DRV8833Module (int aIn1Pin, int aIn2Pin, int bIn1Pin, int bIn2Pin, int slpPin) | |
DRV8833Motor & | getMotorA () |
DRV8833Motor & | getMotorB () |
DRV8833 Module (two motors)
arpirobot::DRV8833Module::DRV8833Module | ( | int | aIn1Pin, |
int | aIn2Pin, | ||
int | bIn1Pin, | ||
int | bIn2Pin, | ||
int | slpPin | ||
) |
aIn1Pin | In1 pin for motor a of module |
aIn2Pin | In2 pin for motor a of module |
bIn1Pin | In1 pin for motor b of module |
bIn2Pin | In2 pin for motor b of module |
slpPin | Sleep pin for module |
DRV8833Motor& arpirobot::DRV8833Module::getMotorA | ( | ) |
Get the Motor instance for motor a
DRV8833Motor& arpirobot::DRV8833Module::getMotorB | ( | ) |
Get the Motor instance for motor b