Arduino device driver for communicating with LIS2DH accelerometer over I2C
Please note that this library is WIP, and all credit to the original author of this code. I only added extra support for STM32Duino.
Requires different Arduino Libraries depending on how you wish to interface with the chip.
- Requires Wire.h for I2C support.
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