Stepper Motor Experiments
After completing the Stepper Motor project, test yourself by trying these experiments.
1 | What happens if you change the ordering of the four motor(...) lines? | |
2 | What happens if you delete the last three of the motor(...) lines in the first FOR loop? | |
3 | Modify the code to make the motor spin only in one direction. | |
4 | Modify the code to make the motor spin slower. | |
5 | How many times around the FOR loop for the motor to turn 360 degrees? |