Arduino code for controlling the stepper motor inside a variable friction shoe mechanism