User Manual
213
/
223
We are using 4 pins to control the Stepper.
Pin 8-11 are controlling the Stepper motor.
We connect the Ground from to MEGA2560 to the Stepper motor.
Code
After wiring, please open the program in the code folder- Lesson 31 Stepper Motor
and click UPLOAD to upload the program. See Lesson 2 for details about program
uploading if there are any errors.
Before you can run this, make sure that you have installed the < Stepper > library or
re-install it, if necessary. Otherwise, your code won't work.
For details about loading the library file, see Lesson 1.
Example picture










