Skip to main content

CircuitPython library for LSM9DS1 accelerometer, magnetometer, gyroscope.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython module for the LSM9DS1 accelerometer, magnetometer, gyroscope.

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-lsm9ds1

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

sudo pip3 install adafruit-circuitpython-lsm9ds1

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-lsm9ds1

Usage Example

See examples/lsm9ds1_simpletest.py for a demo of the usage.

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-lsm9ds1-2.1.17.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file adafruit-circuitpython-lsm9ds1-2.1.17.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-lsm9ds1-2.1.17.tar.gz
Algorithm Hash digest
SHA256 d459bde637f3cfcb10fc2fbba2b728b38c65cd90684717696e0026b189894d3f
MD5 3d5a1bf91bba883071e10c1e278f125e
BLAKE2b-256 c9e322131607be051001eda8b04ef524e2f6613c6f29587e63602637e5c88041

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_lsm9ds1-2.1.17-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_lsm9ds1-2.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 a9e74703e902a8549d86e8370899f62f7d6b7ca1733d8f6b8c63810104ee8999
MD5 b070301ce40ef592817cbc6cf64d0274
BLAKE2b-256 130ac37cd360b0a96b2e312616cb706b7570d3127f4a378655c636c6ab5d8426

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