Introduction
MicroPython driver for the NXP MPL3115A2 Pressure and Temperature sensor
Installing with mip
To install using mpremote
mpremote mip install github:jposada202020/MicroPython_MPL3115A2
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_MPL3115A2
Installing Library Examples
If you want to install library examples:
mpremote mip install github:jposada202020/MicroPython_MPL3115A2/examples.json
To install directly using a WIFI capable board
mip install github:jposada202020/MicroPython_MPL3115A2/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-mpl3115a2
To install system-wide (this may be required in some cases):
sudo pip3 install micropython-mpl3115a2
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-mpl3115a2
Usage Example
Take a look at the examples directory
Documentation
API documentation for this library can be found on Read the Docs.
Metadata
Release files for micropython-mpl3115a2 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| micropython-mpl3115a2-0.1.0.tar.gz | 18.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| micropython_mpl3115a2-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.4 kB
Release files / micropython-mpl3115a2-0.1.0.tar.gz
| Download URL | micropython-mpl3115a2-0.1.0.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38e56ebf581bb2b1621f68efff6fa91b9a00d474fb1cdffdc6d8669ff518d8c2
|
|
BLAKE2b-256 checksum How to use checksums |
8c0c7e0f2f1971e74ddc54ce5bf2ee8e92a24190a1ab3a78041a662a28e8838c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / micropython_mpl3115a2-0.1.0-py3-none-any.whl
| Download URL | micropython_mpl3115a2-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c67c55ea4fc38889f3a23f9349c64be2dc647e6e380c98624fbdb82e71a638c2
|
|
BLAKE2b-256 checksum How to use checksums |
bc0436387a5333ae15be061b8ddf9c735372f607b7f3119de5c20c8318e62f98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for micropython-mpl3115a2 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.