Syntax
class Stepper;
ContentsIndex
PreviousUpNext
Stepper Class
Members
Syntax
class Stepper;
Description

The stepper Library controls unipolar and multi-polar stepper motors. 

The stepper motor receives pulse signals; it stops when there is no pulse signals, and its rotation speed is proportional to pulse frequency. Immediate activation and rapid stop are its features. You can change the pulse order to change its rotation direction. 

The stepper motor is applied in machines requiring precision, for example, drawing and printing machines.

Class Hierarchy
File

Stepper.h

Group
Methods
Method 
Description 
Sets up the speed of stepper motor in RPMs (Rotation per Minute). 
step 
Rotates stepper motor at the speed set in setSpeed
Creates a new stepper instance to represent a particular stepper motor. The number of parameters is decided by the design of the stepper motor; 2 and 4 pins are supported. 
Creates a new stepper instance to represent a particular stepper motor. The number of parameters is decided by the design of the stepper motor; 2 and 4 pins are supported.