26 #include <mraa/i2c.hpp>
28 #define READ_BUFFER_LENGTH 6
105 int16_t m_rawaccel[3];
106 uint8_t m_buffer[READ_BUFFER_LENGTH];
float * getAcceleration()
Definition: adxl345.cxx:132
int16_t * getRawValues()
Definition: adxl345.cxx:141
uint8_t getScale()
Definition: adxl345.cxx:147
Adxl345(int bus)
Definition: adxl345.cxx:90
mraa::Result update()
Definition: adxl345.cxx:161
API for the ADXL345 3-Axis Digital Accelerometer.
Definition: adxl345.h:59