Skip to main content

CircuitPython library for MPL3115A2 barometric pressure and temperature sensor.

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

CircuitPython module for the MPL3115A2 barometric pressure & temperature sensor.

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle.

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 adafruit-circuitpython-mpl3115a2

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

sudo pip3 install adafruit-circuitpython-mpl3115a2

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-mpl3115a2

Usage Example

See examples/simpletest.py for a demo of the usage.

Documentation

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

For information on building library documentation, please check out this guide.

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

adafruit-circuitpython-mpl3115a2-2.0.4.tar.gz (27.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file adafruit-circuitpython-mpl3115a2-2.0.4.tar.gz.

File metadata

File hashes

Hashes for adafruit-circuitpython-mpl3115a2-2.0.4.tar.gz
Algorithm Hash digest
SHA256 dae9c821bfe880b8e4695647618850b3807dee107551ab2ee8933f2935e63df7
MD5 7d1e2449eef4bf6e56bf0c52695e472c
BLAKE2b-256 5d73c82f76fac9d704c67a2eeef2e98993669905e6ed58ce505dffbeda4308f8

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_mpl3115a2-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for adafruit_circuitpython_mpl3115a2-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 beaef7c7d54453b7ce488b96de16b60400488cc3a8ba952b7095918e3ba9ce88
MD5 4003b53eb3b933a3a7a16eed78b69a74
BLAKE2b-256 25d6b2da10d7588e8ce9ea9e2903ecdb3a8d927afb53430c8a0f8c7d004135d4

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