def stepper_config(self, steps_per_revolution, stepper_pins):
data = [self.STEPPER_CONFIGURE, steps_per_revolution & <NUM_LIT>, (steps_per_revolution >> <NUM_LIT:7>) & <NUM_LIT>]<EOL>for pin in range(len(stepper_pins)):<EOL><INDENT>data.append(stepper_pins[pin])<EOL><DEDENT>self._command_handler.send_sysex(self._command_handler.STEPPER_DATA, data)<EOL>
Configure stepper motor prior to operation.

:param steps_per_revolution: number of steps per motor revolution

:param stepper_pins: a list of control pin numbers - either 4 or 2