RoboidControl for Arduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Passer::RoboidControl::DRV8833 Class Reference

Support for a DRV8833 motor controller. More...

#include <DRV8833.h>

Public Member Functions

 DRV8833 ()
 
 DRV8833 (byte pinAIn1, byte pinAIn2, byte pinBIn1, byte pinBIn2, byte pinStandby=255, Motor::Direction directionA=Motor::Direction::Clockwise, Motor::Direction directionB=Motor::Direction::Clockwise)
 Setup a DRV8833 motor controller.
 

Public Attributes

DRV8833Motor motorA
 
DRV8833Motor motorB
 

Protected Attributes

byte pinStandby
 The pin number for the standby signal.
 

Detailed Description

Support for a DRV8833 motor controller.

Constructor & Destructor Documentation

◆ DRV8833() [1/2]

DRV8833::DRV8833 ( )

◆ DRV8833() [2/2]

DRV8833::DRV8833 ( byte  pinAIn1,
byte  pinAIn2,
byte  pinBIn1,
byte  pinBIn2,
byte  pinStandby = 255,
Motor::Direction  directionA = Motor::Direction::Clockwise,
Motor::Direction  directionB = Motor::Direction::Clockwise 
)

Setup a DRV8833 motor controller.

Parameters
pinAIn1The pin number connected to the AIn1 port
pinAIn2The pin number connected to the AIn2 port
pinBIn1The pin number connected to the BIn1 port
pinBIn2The pin number connceted to the BIn2 port
pinStandbyThe pin number connected to the standby port, 255 indicated that the port is not connected
directionAThe forward turning direction of motor A
directionBThe forward turning direction of motor B

Member Data Documentation

◆ motorA

DRV8833Motor Passer::RoboidControl::DRV8833::motorA

◆ motorB

DRV8833Motor Passer::RoboidControl::DRV8833::motorB

◆ pinStandby

byte Passer::RoboidControl::DRV8833::pinStandby
protected

The pin number for the standby signal.


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