77 MMA7361(
int x_pin,
int y_pin,
int z_pin,
78 int selftest_pin,
int sleep_pin,
79 int freefall_pin,
int range_pin,
131 void setOffset(
float x,
float y,
float z);
141 void setScale(
float x,
float y,
float z);
170 void getVolts(
float *x,
float *y,
float *z);
void setOffset(float x, float y, float z)
Definition: mma7361.cxx:100
C API for the MMA7361 Analog Accelerometer.
float * getAcceleration()
Definition: mma7361.cxx:115
void update()
Definition: mma7361.cxx:88
void setScale(float x, float y, float z)
Definition: mma7361.cxx:105
void enableSelftest(bool enable)
Definition: mma7361.cxx:76
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
~MMA7361()
Definition: mma7361.cxx:46
float * getVolts()
Definition: mma7361.cxx:129
float * getNormalized()
Definition: mma7361.cxx:143
bool isInFreefall()
Definition: mma7361.cxx:61
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=5.0)
Definition: mma7361.cxx:34
void setSleep(bool sleep)
Definition: mma7361.cxx:56
void setRange(bool range)
Definition: mma7361.cxx:51
API for the DFRobot MMA7361 Analog Accelerometer.
Definition: mma7361.hpp:60