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

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-mpl3115a2-3.0.3.tar.gz
Algorithm Hash digest
SHA256 679a17316de5ec5c91594fb3dbd6b0ab2bdef67122d18890bdc75369ffcea166
MD5 a5fb5edfda35fa45a1b696862c91210f
BLAKE2b-256 f33765b3faaa59233bf987255d534287b54de2661f55259cfa5fe322c51137cd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_mpl3115a2-3.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f49d7f77f4e023a1c4162d605edb1d99772fb3d6a6fca76ad8ba82eb8bacd95a
MD5 c5bdf221b9a127803080b8161cc8d92e
BLAKE2b-256 51e008997e7741ac7b75e5893fd16d74f5d57386150be7285330521aac88cb61

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