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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for adafruit-circuitpython-mpl3115a2-3.0.1.tar.gz
Algorithm Hash digest
SHA256 3006052b3cd3365f02d537b959cb404b609cef76ad483f547dbb3d5eaf791a04
MD5 827952c1b733ecd38a4124b226501164
BLAKE2b-256 682e7246c22d96131f723ff41529d3aa5178a485b2af06233a99805739f9ae22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for adafruit_circuitpython_mpl3115a2-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 04a9373caaec00bb5bd21af1e548bef6ff650d195ad558bf0ac5fe82d1797789
MD5 ce92468ff4b66c7bc38a145810781bec
BLAKE2b-256 564a83b960cde876add461008f0391ce2e159a549ab5b53fc96c562ccdfa445a

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