28 #define READ_BUFFER_LENGTH 6
105 int16_t m_rawaccel[3];
106 uint8_t m_buffer[READ_BUFFER_LENGTH];
107 mraa_i2c_context m_i2c;
~Adxl345()
Definition: adxl345.cxx:113
float * getAcceleration()
Definition: adxl345.cxx:119
mraa_result_t update()
Definition: adxl345.cxx:148
int16_t * getRawValues()
Definition: adxl345.cxx:128
uint8_t getScale()
Definition: adxl345.cxx:134
Adxl345(int bus)
Definition: adxl345.cxx:88
API for the ADXL345 3-Axis Digital Accelerometer.
Definition: adxl345.h:59