
Starting speed reverse
Category
motor-specific
Offset
20
Type
unsigned 16-bit
Range
0 to 800
Default
0
Command
Set variable
Arduino library
void setStartingSpeedReverse(uint8_t motor, uint16_t speed)
void setStartingSpeed(uint8_t motor, uint16_t speed)
uint16_t getStartingSpeedReverse(uint8_t motor)
This is like
, but for the reverse direction. The Motoron allows the speed
of the motor to accelerate instantly from 0 to the negated value of this variable, ignoring the
.
Direction change delay forward
Category
motor-specific
Offset
22
Type
unsigned 8-bit
Range
0 to 250 (2500 ms)
Default
0
Units
10 ms
Command
Set variable
Arduino library
void setDirectionChangeDelayForward(uint8_t motor, uint8_t duration)
void setDirectionChangeDelay(uint8_t motor, uint8_t duration)
uint8_t getDirectionChangeDelayForward(uint8_t motor)
This variable specifies how long the Motoron should wait with the motor at speed 0 while switching
directions from forward to reverse. For example, if the motor is currently driving in reverse (current
speed less than 0), and the target speed is in the forward direction (positive), then the Motoron will
decelerate the speed to 0, wait for an amount of time equal to the direction change delay forward,
Pololu Motoron Motor Controller User’s Guide
© 2001–2022 Pololu Corporation
8. Variable reference
Page 49 of 67