Skip to main content

Python library for the LSM303d accelerometer and magnetometer

Project description

lsm303d Accelerometer And Compass

Build Status Coverage Status PyPi Package Python Versions

Installing

If you've already set up a Python virtual environment, you can also install the stable library manually from PyPi:

pip install lsm303d

Otherwise our install script will set one up for you.

Stable library from GitHub:

git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh

Latest/development library from GitHub:

git clone https://github.com/pimoroni/lsm303d-python
cd lsm303d-python
./install.sh --unstable

Note Libraries will be installed in the "pimoroni" virtual environment, you will need to activate it to run examples:

1.0.0

  • Port to hatch/pyproject.toml
  • Require i2cdevice>=1.0.0
  • Fix typo in CLICK register "threshold" option

0.0.5

  • Require i2cdevice>=0.0.6

0.0.4

  • Port to i2cdevice>=0.0.6 set/get API

0.0.3

  • BugFix: Fix for compatibility with i2cdevice>=0.0.6

0.0.2

  • Bumped i2cdevice dependency to >=0.0.4

0.0.1

  • Initial Release

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

lsm303d-1.0.0.tar.gz (12.4 kB view hashes)

Uploaded Source

Built Distribution

lsm303d-1.0.0-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

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