adafruit-circuitpython-mpl115a2-CircuitPython driver for MPL115A2 I2C Barometric Pressure/Tempera...

adafruit-circuitpython-mpl115a2-CircuitPython driver for MPL115A2 I2C Barometric Pressure/Temperature Sensor.-Adafruit Industries

發佈:2020-12-21 20:42:31.401235

做者:Adafruit Industries

做者郵箱:circuitpython@adafruit.com

首頁:https://github.com/adafruit/AdafruitCircuitPythonMPL115A2

文檔:None

下載連接

Introduction

.. image:: https://readthedocs.org/projects/adafruit-circuitpython-mpl115a2/badge/?version=latest :target: https://circuitpython.readthedocs.io/projects/mpl115a2/en/latest/ :alt: Documentation Statuspython

.. image:: https://img.shields.io/discord/327254708534116352.svg :target: https://adafru.it/discord :alt: Discordgit

.. image:: https://github.com/adafruit/AdafruitCircuitPythonMPL115A2/workflows/Build%20CI/badge.svg :target: https://github.com/adafruit/AdafruitCircuitPythonMPL115A2/actions/ :alt: Build Statusgithub

CircuitPython driver for MPL115A2 I2C Barometric Pressure/Temperature Sensor.shell

Dependencies

This driver depends on:ide

  • Adafruit CircuitPython <https://github.com/adafruit/circuitpython>_
  • Bus Device <https://github.com/adafruit/Adafruit_CircuitPython_BusDevice>_

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle <https://github.com/adafruit/Adafruit_CircuitPython_Bundle>_.svg

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI <https://pypi.org/project/adafruit-circuitpython-mpl115a2/>_. To install for current user:ui

.. code-block:: shellthis

pip3 install adafruit-circuitpython-mpl115a2

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

.. code-block:: shell.net

sudo pip3 install adafruit-circuitpython-mpl115a2

To install in a virtual environment in your current project:

.. code-block:: shell

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

Usage Example

See usage examples in the examples folder.

Contributing

Contributions are welcome! Please read our Code of Conduct <https://github.com/adafruit/Adafruit_CircuitPython_MPL115A2/blob/master/CODE_OF_CONDUCT.md>_ before contributing to help this project stay welcoming.

Documentation

For information on building library documentation, please check out this guide <https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1>_.

Copy from pypi.org

查詢時間:69.914ms
渲染時間:70.047ms

本文同步分享在 博客「zhenruyan」(other)。
若有侵權,請聯繫 support@oschina.cn 刪除。
本文參與「OSC源創計劃」,歡迎正在閱讀的你也加入,一塊兒分享。

相關文章
相關標籤/搜索