33 static void flipM1(
bool flip);
44 static void flipM2(
bool flip);
68 static void setSpeeds(int16_t m2Speed, int16_t m1Speed);
72 static inline void init()
74 static bool initialized =
false;
static void setM2Speed(int16_t speed)
Sets the speed for motor 2.
Controls motor speed and direction on the A-Star 32U4 Robot Controller.
static void setM1Speed(int16_t speed)
Sets the speed for motor 1.
static void flipM1(bool flip)
Flips the direction of motor 1.
static void flipM2(bool flip)
Flips the direction of motor 2.
static void setSpeeds(int16_t m2Speed, int16_t m1Speed)
Sets the speed for both motors.