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
MD Class Reference

Public Member Functions

synchronized void delete ()
 
 MD (int bus, short address)
 
 MD (int bus)
 
boolean writePacket (MD_REG_T reg, short data1, short data2)
 
boolean setMotorSpeeds (short speedA, short speedB)
 
boolean setPWMFrequencyPrescale (short freq)
 
boolean setPWMFrequencyPrescale ()
 
boolean setMotorDirections (MD_DC_DIRECTION_T dirA, MD_DC_DIRECTION_T dirB)
 
boolean enableStepper (MD_STEP_DIRECTION_T dir, short speed)
 
boolean disableStepper ()
 
boolean setStepperSteps (long steps)
 
void configStepper (long stepsPerRev, MD_STEP_MODE_T mode)
 
void configStepper (long stepsPerRev)
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (MD obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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