Download: Examples - Stepper
The following example programs are available to demonstrate the basic principles of how to use a stepper motor:
ex1_stepper_simple.c
Demonstrates the simple use of a stepper motor using the STEPPER_F4.c library.
ex2_stepper_oncount.c
Demonstrates the use of a stepper motor using the STEPPER1_OnCount() function in Wait mode.
ex3_stepper_delayed_stop.c
Demonstrates the use of a stepper motor using the STEPPER1_OnCount() function in Wait mode. The user button is used to attempt to stop the stepper motor to interrupt the count mode.
ex4_stepper_immediate_stop.c
Demonstrates the use of a stepper motor using the STEPPER1_OnCount() function in Non-Wait mode. The user button is used to attempt to stop the stepper motor to interrupt the count
mode.
ex5_stepper_multiple.c
Demonstrates the simple use of a mutliple stepper motors using the STEPPER_F4.c library.