SparkFun_ADXL345_Arduino_Library icon indicating copy to clipboard operation
SparkFun_ADXL345_Arduino_Library copied to clipboard

Arduino Library for the ADXL345

Results 17 SparkFun_ADXL345_Arduino_Library issues
Sort by recently updated
recently updated
newest added

This library does not have methods to enable FIFO and select one of its modes. The setFIFOMode will select one of the four available modes - Bypass, FIFO, Stream and...

I found this useful for testing whether communication was successful, or if I had interference from another device.

Hi, I have added FIFO code to this library for my own purpose in case you want to Example: https://github.com/shirish47/SparkFun_ADXL345_Arduino_Library/blob/master/examples/ADXL345_FIFO_mode.ino

initialization needs to be moved to constructor. int _CS = 10; bool I2C = true; unsigned long SPIfreq = 5000000;

The floating point gains built into the library are handy, but are correct only for the 2g range; you'll get erroneous results when using the .get_Gxyz() function and a range...

I was wondering if it would be valuable to update some of the SPI code. I'm referring to lines 49-52 in "SparkFun_ADXL345.cpp": ``` SPI.begin(); SPI.setDataMode(SPI_MODE3); pinMode(_CS, OUTPUT); digitalWrite(_CS, HIGH); ```...

This library has the ADXL345's "ALT" I2C device address hard-coded. From the ADXL345's [data sheet ](https://www.analog.com/media/en/technical-documentation/data-sheets/ADXL345.pdf)(p17): ``` With the ALT ADDRESS pin high, the 7-bit I2C address for the device...