/LIS2DH

Arduino device driver for LIS2DH accelerometer

Primary LanguageC++GNU General Public License v2.0GPL-2.0

LIS2DH

Arduino device driver for communicating with LIS2DH accelerometer over I2C

LIS2DH datasheet (PDF)

====================== Installation

Requires the Arduino Libraries Wire.h for I2C and SPI.h 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".

====================== Wiring Diagram

LIS2DH wiring diagram

I2C lines: SDA and SCL