Arduino device driver for communicating with LIS2DH accelerometer over I2C
Library was uncomplete and no working. Not updated since 2014. I'm updating it to make it a fully working library for LIS2DH. Actually the library is supporting most of the register configuration in raw mode and user friendly mode.
- Motion / Acceleration / Force feature tested and working
- Tilt feature tested and working
- 6D position feature tested and working Have fun with It !
The functions related to Clicks detection are not fully documented due to the really poor quality of the ST Datasheet. I don't think I already had such uncompleted and badly written document. So any help on these feature is welcome.
Requires the Arduino Libraries
for I2C and
depending on how you wish to interface with the chip.
warning SPI not supported yet!
Download the repo as a zip file and install throught the Arduino IDE and select:
Sketch -> Import Library -> Add Library
Make sure that if you are installing updates that you remove any pre-existing libraries called "LIS2DH".
I2C lines: SDA and SCL