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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-mpl3115a2-2.0.3.tar.gz
Algorithm Hash digest
SHA256 4ddc025920b18e4168d5a8427ada24f5eb4b41e788d7407ea59ae5066bf12c8d
MD5 73b3fa28862e4659cddb636e7734cbd1
BLAKE2b-256 4dbc80c9d9f308075f8f6364db2d606121e2bdcc22a1e8d2fe4fc32d558edc28

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_mpl3115a2-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2670ad430ac5d0d925d3a05c89872600170aef7577c243c5878941cbc74241e1
MD5 b7be8fe00a669e0a939aeff3c052f869
BLAKE2b-256 7490201fd5b09e4adc7d9ba66dd73877b56a132ac14f3cc34d715e391dcc8cf5

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