CircuitPython driver for the qmc5883l magnetometer
Project description
Introduction
CircuitPython driver for the qmc5883l magnetometer
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem.
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install circuitpython-qmc5883l
To install system-wide (this may be required in some cases):
sudo pip3 install circuitpython-qmc5883l
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 circuitpython-qmc5883l
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the following command to install:
circup install qmc5883l
Or the following command to update an existing version:
circup update
Usage Example
Take a look a the qmc5883l_simpletest.py in the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
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
Built Distribution
File details
Details for the file circuitpython-qmc5883l-0.1.3.tar.gz
.
File metadata
- Download URL: circuitpython-qmc5883l-0.1.3.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06061950da997ebf3b75595c5923d0b7165ed9e9be923aaa9cb39a680d55ee9a |
|
MD5 | 1029aea5c523a5461078b585ef010469 |
|
BLAKE2b-256 | e5d46d03f35db20282cbc0ede335c8f4dfbec5a1efdea3bf00e65d2fc6d0eee6 |
File details
Details for the file circuitpython_qmc5883l-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: circuitpython_qmc5883l-0.1.3-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc7ead36e8874781c8a045af922340850e2d8b5fb7b84755483a1ff9d8ea9534 |
|
MD5 | 37bc0943dd740ad3b3e4f6a0473ef574 |
|
BLAKE2b-256 | 06b8c3fd6ce38c18330ec05ce7c0d8b87d9bf28c023aafd4e6d8b359e0762da7 |