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.1.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: micropython-lis3mdl-0.1.0.tar.gz
  • Upload date:
  • Size: 19.1 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.1.0.tar.gz
Algorithm Hash digest
SHA256 b375934e602398dfe1e9085a846fdbc20965d69db9775927c757b5da9e3a86d5
MD5 5ebc40fea97ccb045c4e446607682c87
BLAKE2b-256 ba5e3fa9d24d0f993c5070afccb2374c7feb58cb28e752a8db76a5b2a8f82752

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for micropython_lis3mdl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cfcb4143580d703cadcc55c3767af8a5bfb753a59e48bfb95d4c54a2cb530a9c
MD5 a8892cf4539656e8c725e6b4ba59f41f
BLAKE2b-256 796ad1419484d8551452ac2b4adcfb493366788d018a4c80e9a711bfede0a93f

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