Skip to main content

CircuitPython library for LSM9DS1 accelerometer, magnetometer, gyroscope.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Ruff

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.29.tar.gz (26.1 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.29.tar.gz.

File metadata

File hashes

Hashes for adafruit_circuitpython_lsm9ds1-2.1.29.tar.gz
Algorithm Hash digest
SHA256 f7e731d3521418d3982fd017b4236a86cf4d650dcbb8ca66268b4d97fc4ff103
MD5 4e2facb905e08193753d60f5a0b350aa
BLAKE2b-256 6a050c7a2af7b8c64927aa2979cf3fc448e58976946953fb08ae27a58d123dfb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_lsm9ds1-2.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 c9b6a97837be1d55bc98061cf9d337cfe1c2716283a0b67734d601e8d7d64003
MD5 733ef196b50b1bf043d3972ecfeef3ed
BLAKE2b-256 15994fbf39010bb5e05ff8d0bf08f16a67c0a9a74e8d5732370070578e331ac6

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