Firmware and Python API for controlling a stepper motor via arduino