I am in need of a PYTHON CODE that deals with the ROHS 28BYJ-48 5VDC Stepper motor that is connected to a raspeberry pi pico h and a limit switch. I need this code to move a certain amount of steps clockwise (preferably have a command to input the number of steps), then once the limit switch is activated I need it to move off of the limit switch slightly and wait for another command before it moves back counter clockwise to its original position. A homing code essentially. Below I have attach a icture of my set up. If I need to make any adjustments please let me know. To clarify the limit switch is set up on two of the same pins that the motor is connected to (where the blue and white wire are GPIO pin 4 and 5).