Skip to main content

CircuitPython library for LIS3DH accelerometer.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

Adafruit CircuitPython module for the LIS3DH accelerometer.

Note this module is made to work with CircuitPython and not MicroPython APIs.

Usage Example

See the guide at: https://learn.adafruit.com/circuitpython-hardware-lis3dh-accelerometer

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install adafruit-circuitpython-lis3dh

To install system-wide (this may be required in some cases):

sudo pip3 install adafruit-circuitpython-lis3dh

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-lis3dh

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adafruit_circuitpython_lis3dh-5.2.9.tar.gz (31.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

adafruit_circuitpython_lis3dh-5.2.9-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file adafruit_circuitpython_lis3dh-5.2.9.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_lis3dh-5.2.9.tar.gz
Algorithm Hash digest
SHA256 be91aa7845718d031ac3a070a655c5ddacedfb67ab20baebba8adc1d0a26d5a0
MD5 9ac65715d82fe3279aa84ec0732cd9b2
BLAKE2b-256 ff3cf203e42e44781f3d9d28e2c550a72bc65d31a3f858e04ded58457bc3f84f

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_lis3dh-5.2.9-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_lis3dh-5.2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 d72911fd9ab1189bb563d2556eead6ec80f726fc153fb5ebdeb1c855ee5f26a6
MD5 3ba3edc10e1516e7b2293a45c4fcef78
BLAKE2b-256 7e446e913b73cf7f6759fbebeb329793b78e94233a3209510b952522a4bd1009

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page