|
Smartcar Shield
|
Helper class to represent brushed motor pins. More...
#include <BrushedMotor.hpp>

Public Member Functions | |
| BrushedMotorPins (uint8_t forwardPin, uint8_t backwardPin, uint8_t enablePin) | |
| Construct a BrushedMotorPins object. More... | |
Public Attributes | |
| const uint8_t | forward |
| const uint8_t | backward |
| const uint8_t | enable |
Helper class to represent brushed motor pins.
Definition at line 20 of file BrushedMotor.hpp.
|
inline |
Construct a BrushedMotorPins object.
| forwardPin | The direction pin that when set to HIGH makes the motor spin forward |
| backwardPin | The direction pin that when set to HIGH makes the motor spin backward |
| enablePin | The pin that controls the motor's speed |
Definition at line 29 of file BrushedMotor.hpp.
| const uint8_t BrushedMotorPins::backward |
Definition at line 37 of file BrushedMotor.hpp.
| const uint8_t BrushedMotorPins::enable |
Definition at line 38 of file BrushedMotor.hpp.
| const uint8_t BrushedMotorPins::forward |
Definition at line 36 of file BrushedMotor.hpp.
1.8.17