Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 2.39 KB

File metadata and controls

52 lines (31 loc) · 2.39 KB

SparkFun LIS2DH12 Arduino Library

SparkFun Qwiic LIS2DH12

SparkFun Qwiic LIS2DH12 Accelerometer (DEV-15760)

A simple to use I2C library for the very low power LIS2DH12 from ST.

This library can be installed via the Arduino Library manager. Search for SparkFun LIS2DH12. ST offers a great portable C library for the LIS2DH12. This library just wraps that library making it Arduino friendly and easier to use with lots of examples.

Want to help? Please do! We are always looking for ways to improve and build out features of this library.

  • This library currently only supports I2C but could be expanded to use SPI as well.

Thanks to:

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

Products That Use This Library

License Information

This product is open source!

Various bits of the code have different licenses applied. Anything SparkFun wrote is beerware; if you see me (or any other SparkFun employee) at the local, and you've found our code helpful, please buy us a round!

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release anything derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.