A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pypi.org/project/adafruit-circuitpython-ms8607/ below:

adafruit-circuitpython-ms8607 ยท PyPI

Project description Introduction

CircuitPython driver for the MS8607 PTH 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-ms8607

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

sudo pip3 install adafruit-circuitpython-ms8607

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-ms8607
Usage Example
from time import sleep
import board
from adafruit_ms8607 import MS8607

i2c = board.I2C()
sensor = MS8607(i2c)

while True:

    print("Pressure: %.2f hPa" % sensor.pressure)
    print("Temperature: %.2f C" % sensor.temperature)
    print("Humidity: %.2f %% rH" % sensor.relative_humidity)
    sleep(1)
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.

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_ms8607-1.1.5.tar.gz.

File metadata File hashes Hashes for adafruit_circuitpython_ms8607-1.1.5.tar.gz Algorithm Hash digest SHA256 c9ace2ada6aaff5a8705e59ffdf20874792cc74d045988e82ba20da581098364 MD5 9b9cb319752e276b085de4ec9155ea99 BLAKE2b-256 d1419d7112b9a0636e2a762b3d12dea6ed54852d250eceb66b4a1bb5c45dc7c3

See more details on using hashes here.

File details

Details for the file adafruit_circuitpython_ms8607-1.1.5-py3-none-any.whl.

File metadata File hashes Hashes for adafruit_circuitpython_ms8607-1.1.5-py3-none-any.whl Algorithm Hash digest SHA256 8b5e99af97109372fda3e4156c46e72eb1f7b4ea87c5da9fd03020d04d06a661 MD5 c2c286d1e0a2bce666116572bda6435c BLAKE2b-256 44cab8f5ed5ec0fa55c1a14ce0edb16045d78b8419f8b1cd737889a99353e90e

See more details on using hashes here.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4