13#define IR_EMITTER_PIN 11
30 Serial.println(
"initMotors()");
52 Serial.println(
"/initMotors()");
142 int16_t currPos =
count;
static void setOutputLow() __attribute__((always_inline))
Configures the pin to be an output driving low.
static void setOutput(bool value) __attribute__((always_inline))
Sets the pin as an output.
void setEffort(int16_t effort)
float calcEffort(float error)
Used to calculate the effort from the error.
void setEffort(int16_t effort)
Sets the effort for the motor directly. Overloaded for the left and right motors. Use Chassis::setEff...
void setTargetSpeed(float targetSpeed)
volatile CTRL_MODE ctrlMode
void allowTurbo(bool turbo)
Turns turbo mode on or off.
virtual void setEffort(int16_t effort)=0
Sets the effort for the motor directly. Overloaded for the left and right motors. Use Chassis::setEff...
void moveFor(int16_t amount)