Datasheet
Download Adafruit_LIS3DH library
To begin reading sensor data, you will need to download Adafruit_LIS3DH from our github repository. You can do that
by visiting the github repo and manually downloading or, easier, just click this button to download the zip
Download Adafruit LIS3DH library
https://adafru.it/jzc
Rename the uncompressed folder Adafruit_LIS3DH and check that the Adafruit_LIS3DH folder contains
Adafruit_LIS3DH.cpp and Adafruit_LIS3DH.h
Place the Adafruit_LIS3DH library folder your
arduinosketchfolder
/libraries/ folder.
You may need to create the libraries subfolder if its your first library. Restart the IDE.
We also have a great tutorial on Arduino library installation at:
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use
Download Adafruit_Sensor
The LIS3DH library uses the Adafruit_Sensor support backend so that readings can be normalized between sensors.
You can grab Adafruit_Sensor from the github repo or just click the button below.
Download Adafruit Sensor library
https://adafru.it/cMO
Install it just like you did with the Adafruit_LIS3DH library above!
© Adafruit Industries https://learn.adafruit.com/adafruit-lis3dh-triple-axis-accelerometer-breakout Page 14 of 22










