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

Public Member Functions

synchronized void delete ()
 
 MMA7361 (int x_pin, int y_pin, int z_pin, int selftest_pin, int sleep_pin, int freefall_pin, int range_pin, float a_ref)
 
 MMA7361 (int x_pin, int y_pin, int z_pin, int selftest_pin, int sleep_pin, int freefall_pin, int range_pin)
 
void setRange (boolean range)
 
void setSleep (boolean sleep)
 
boolean isInFreefall ()
 
void enableSelftest (boolean enable)
 
void update ()
 
void setOffset (float x, float y, float z)
 
void setScale (float x, float y, float z)
 
float[] getAcceleration ()
 
float[] getVolts ()
 
float[] getNormalized ()
 

Protected Member Functions

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

Static Protected Member Functions

static long getCPtr (MMA7361 obj)
 

Protected Attributes

transient boolean swigCMemOwn
 

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