Arduino device driver for communicating with LIS2DH accelerometer over I2C
Requires different Arduino Libraries depending on how you wish to interface with the chip.
- Requires Wire.h for I2C support.
- Requires for SPI 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