ArPiRobot-CoreLib C++
C++ library for ArPiRobot robots
Public Member Functions | List of all members
arpirobot::DRV8833Module Class Reference

#include <arpirobot/devices/drv8833/DRV8833Module.hpp>

Public Member Functions

 DRV8833Module (int aIn1Pin, int aIn2Pin, int bIn1Pin, int bIn2Pin, int slpPin)
 
DRV8833MotorgetMotorA ()
 
DRV8833MotorgetMotorB ()
 

Detailed Description

DRV8833 Module (two motors)

Constructor & Destructor Documentation

◆ DRV8833Module()

arpirobot::DRV8833Module::DRV8833Module ( int  aIn1Pin,
int  aIn2Pin,
int  bIn1Pin,
int  bIn2Pin,
int  slpPin 
)
Parameters
aIn1PinIn1 pin for motor a of module
aIn2PinIn2 pin for motor a of module
bIn1PinIn1 pin for motor b of module
bIn2PinIn2 pin for motor b of module
slpPinSleep pin for module

Member Function Documentation

◆ getMotorA()

DRV8833Motor& arpirobot::DRV8833Module::getMotorA ( )

Get the Motor instance for motor a

◆ getMotorB()

DRV8833Motor& arpirobot::DRV8833Module::getMotorB ( )

Get the Motor instance for motor b


The documentation for this class was generated from the following file: