Get a list of supported commands.
Possible commands are:
run-forever
- Causes the motor to run until another command is sent.
run-to-abs-pos
- Runs to an absolute position specified by
position_sp and then stop using the command specified by
stop_action.
run-to-rel-pos
- Runs to a position relative to the current
position value. The new position will be the current
position +
position_sp. When the new position is reached, the motor will
stop using the command specified by stop_action.
run-timed
- Runs the motor for the amount of time specified by
time_sp and then stop the motor using the command specified by
stop_action.
run-direct
- Runs the motor at the duty cycle specified by
duty_cycle_sp. Unlike other run commands, changing
duty_cycle_sp while running will take effect immediately.
stop
- Stops any of the run-*
commands before they are completed using the command specified by
stop_action.
reset
- Resets all of the motor parameter attributes to their default values. This also has the effect of stopping the
motor.