15 bool Motors::flipLeft =
false;
16 bool Motors::flipRight =
false;
21 FastGPIO::Pin<PWM_L>::setOutputLow();
22 FastGPIO::Pin<PWM_R>::setOutputLow();
23 FastGPIO::Pin<DIR_L>::setOutputLow();
24 FastGPIO::Pin<DIR_R>::setOutputLow();
69 FastGPIO::Pin<DIR_L>::setOutput(reverse ^ flipLeft);
90 FastGPIO::Pin<DIR_R>::setOutput(reverse ^ flipRight);
static void setLeftSpeed(int16_t speed)
Sets the speed for the left motor.
static void flipRightMotor(bool flip)
Flips the direction of the right motor.
static void setSpeeds(int16_t leftSpeed, int16_t rightSpeed)
Sets the speeds for both motors.
static void flipLeftMotor(bool flip)
Flips the direction of the left motor.
static void setRightSpeed(int16_t speed)
Sets the speed for the right motor.
Top-level namespace for the Pololu3piPlus32U4 library.