Skip to main content

MicroPython Driver for the ST LIS3MDL magnetometer

Project description

Introduction

Documentation Status micropython latest version on PyPI Total PyPI downloads Code Style: Black

MicroPython Driver for the ST LIS3MDL magnetometer

Installing with mip

To install using mpremote

mpremote mip install github:jposada202020/MicroPython_LIS3MDL

To install directly using a WIFI capable board

mip.install("github:jposada202020/MicroPython_LIS3MDL")

Installing Library Examples

If you want to install library examples:

mpremote mip install github:jposada202020/MicroPython_LIS3MDL/examples.json

To install directly using a WIFI capable board

mip.install("github:jposada202020/MicroPython_LIS3MDL/examples.json")

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 micropython-lis3mdl

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

sudo pip3 install micropython-lis3mdl

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .env/bin/activate
pip3 install micropython-lis3mdl

Usage Example

Take a look at the examples directory

Documentation

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

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

micropython-lis3mdl-0.2.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

micropython_lis3mdl-0.2.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file micropython-lis3mdl-0.2.0.tar.gz.

File metadata

  • Download URL: micropython-lis3mdl-0.2.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for micropython-lis3mdl-0.2.0.tar.gz
Algorithm Hash digest
SHA256 4629adacb54d1198be2828cdf59f80226ed721058d715bae872915962dfa3aeb
MD5 c9efd37557cc891cd56b4b96b1a546bf
BLAKE2b-256 ff5e63dde21dbc1389f5e99823a400ef86b645d74653785bea414226509ecac5

See more details on using hashes here.

File details

Details for the file micropython_lis3mdl-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for micropython_lis3mdl-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6b132d69832805553d8ea05f14eaf510407fc2bfb64606b7ed92b6042784122
MD5 07de83b6508797735ea16acaaebdf993
BLAKE2b-256 7df8279373622e030eaaaf8de4649f9687960fd6109fcd1879f562f388557dfa

See more details on using hashes here.

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