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.20.tar.gz (29.4 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.20.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-lsm9ds1-2.1.20.tar.gz
Algorithm Hash digest
SHA256 7a36dbbe42d11b38551083fa5927f1c2dac749c18ff7c3d631a1487077bc18db
MD5 089c70c20a85db91ab36ac67e8058305
BLAKE2b-256 b58054fcfb0648ed48799a8041bc0a25164eeb85159ffa5ff0bdd8f94b16e89e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_lsm9ds1-2.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 88b404f240dbbfb060b8f4c9092fe0eb687d2244d76eb4a10763fe5e4363a201
MD5 ab45b650e49d47b995a30539f39feb6d
BLAKE2b-256 c1a30512e5737f90c0e68b7d53c7eb9659f950a9b1a3698d0736dc4801c27a47

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