upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
StepMotor Class Reference

Public Member Functions

synchronized void delete ()
 
 StepMotor (int dirPin, int stePin, int steps, int enPin)
 
 StepMotor (int dirPin, int stePin, int steps)
 
 StepMotor (int dirPin, int stePin)
 
void enable (boolean flag)
 
void setSpeed (int speed)
 
int step (int ticks)
 
int stepForward (int ticks)
 
int stepBackward (int ticks)
 
void setPosition (int pos)
 
int getPosition ()
 
int getStep ()
 

Protected Member Functions

 StepMotor (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (StepMotor obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

The documentation for this class was generated from the following file: