
Reinitialize
Arguments
None
Response
None
Arduino library
void reinitialize()
Command encoding:
0x96
Description:
This command resets most of the Motoron’s variables to their default state.
• The protocol options are reset to their default values (meaning that CRC and the I²C
general call address is enabled).
• The latched status flags are cleared and the Reset flag is set to 1.
• The command timeout is reset to 250 (1000 ms).
• The error response and error mask are reset to their default values.
• The motors will start decelerating down to a speed of zero—respecting the previously-
set deceleration limits—and then coast. This process can be interrupted by subsequent
motor control commands (Coast, Set speed, Set all speeds, Set all speeds using
buffers).
• The target speed, target brake amount, buffered speed, acceleration limits, deceleration
limits, starting speeds, and direction change delays for each motor are reset to 0.
It is OK to provide a CRC byte at the end of this command even if CRC for commands has been
disabled. For example, if you want to send the Reinitialize command and you are not sure whether
CRC for commands is enabled, you can send the following two bytes:
0x96 0x74
. The second
byte is the CRC byte.
Reset
Arguments
None
Response
None
Arduino library
void reset()
Pololu Motoron Motor Controller User’s Guide
© 2001–2022 Pololu Corporation
9. Command reference
Page 56 of 67