ADXL345_DATARATE_1600_HZ
ADXL345_DATARATE_800_HZ
ADXL345_DATARATE_400_HZ
ADXL345_DATARATE_200_HZ
ADXL345_DATARATE_100_HZ
ADXL345_DATARATE_50_HZ
ADXL345_DATARATE_25_HZ
ADXL345_DATARATE_12_5_HZ
ADXL345_DATARATE_6_25HZ
ADXL345_DATARATE_3_13_HZ
ADXL345_DATARATE_1_56_HZ
ADXL345_DATARATE_0_78_HZ
ADXL345_DATARATE_0_39_HZ
ADXL345_DATARATE_0_20_HZ
ADXL345_DATARATE_0_10_HZ (default value)
dataRate_t getDataRate(void);
The getDataRate() function returns the current data rate as set by setDataRate().
Reading Sensor Events:
void getEvent(sensors_event_t*);
The getEvent() function returns the next available reading in the form of a sensor_event. The sensor_event contains
the sensor_id as passed to the constructor as well as the X, Y and Z axis readings from the accelerometer. For more
information about sensor_events, see the ReadMe file (https://adafru.it/aZm) for the Adafruit Sensor Library.