
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.
© Adafruit Industries
https://learn.adafruit.com/adxl345-digital-accelerometer
Page 15 of 17
Содержание ADXL345
Страница 1: ...ADXL345 Digital Accelerometer Created by Bill Earl Last updated on 2018 12 07 07 32 33 PM UTC ...
Страница 4: ... Adafruit Industries https learn adafruit com adxl345 digital accelerometer Page 4 of 17 ...
Страница 7: ... Adafruit Industries https learn adafruit com adxl345 digital accelerometer Page 7 of 17 ...
Страница 17: ... Adafruit Industries Last Updated 2018 12 07 07 32 32 PM UTC Page 17 of 17 ...