8e4f7230f9 | ||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
README.txt | ||
adxl345.h | ||
adxl345_base.c | ||
adxl345_i2c.c | ||
adxl345_spi.c | ||
lis331dl.c | ||
lm75.c | ||
qencoder.c |
README.txt
ADXL345 ======= The ADXL345 accelerometer can operate in I2C or SPI mode. To operate in I2C mode just connect the CS pin to Vddi/o. In order to operate in SPI mode CS need to use connected to microcontroller, it cannot leave unconnected. In SPI mode it works with clock polarity (CPOL) = 1 and clock phase (CPHA) = 1.