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

Classes

class  DC_DIRECTION_T
 
class  REG_T
 
class  STEP_DIRECTION_T
 
class  STEP_MODE_T
 

Public Member Functions

synchronized void delete ()
 
 GroveMD (int bus, short address)
 
 GroveMD (int bus)
 
boolean writePacket (GroveMD.REG_T reg, short data1, short data2)
 
boolean setMotorSpeeds (short speedA, short speedB)
 
boolean setPWMFrequencyPrescale (short freq)
 
boolean setPWMFrequencyPrescale ()
 
boolean setMotorDirections (GroveMD.DC_DIRECTION_T dirA, GroveMD.DC_DIRECTION_T dirB)
 
boolean enableStepper (GroveMD.STEP_DIRECTION_T dir, short speed)
 
boolean disableStepper ()
 
boolean setStepperSteps (long steps)
 
void configStepper (long stepsPerRev, GroveMD.STEP_MODE_T mode)
 
void configStepper (long stepsPerRev)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (GroveMD obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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